:root {
  --bg: #07100f;
  --bg-soft: #0b1513;
  --surface: rgba(10, 20, 19, .90);
  --surface-2: rgba(15, 28, 25, .94);
  --surface-hover: rgba(23, 39, 35, .96);
  --border: rgba(210, 180, 115, .16);
  --border-soft: rgba(255, 255, 255, .075);
  --gold: #c9a96a;
  --gold-soft: #e4cca0;
  --gold-dark: #8c6d3e;
  --teal: #4da88c;
  --teal-soft: #70c5aa;
  --text: #f2ede3;
  --text-secondary: #c6c0b6;
  --muted: #858d88;
  --success: #5ec793;
  --warning: #d8a951;
  --danger: #d46a5f;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .42);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, .26);
  --focus: rgba(112, 197, 170, .26);
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant", Georgia, serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; overflow-x: hidden; letter-spacing: 0; }
a, button, select, input[type="checkbox"] { cursor: pointer; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.jx-dashboard-body,
.jx-auth-body {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
}

.jx-dashboard-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 10, 10, .92), rgba(7, 16, 15, .76) 42%, rgba(4, 8, 9, .96)),
    radial-gradient(circle at 72% 18%, rgba(77, 168, 140, .18), transparent 28%),
    radial-gradient(circle at 18% 26%, rgba(201, 169, 106, .14), transparent 30%),
    url("../images/body.png") center top / cover fixed no-repeat;
}
.jx-dashboard-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 15, .12), rgba(7, 16, 15, .92)), radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.62));
  pointer-events: none;
}
.jx-dashboard-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(228, 204, 160, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(228, 204, 160, .035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent);
}

.jx-dashboard-shell {
  width: min(1480px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  grid-template-rows: 72px minmax(0, 1fr);
  gap: 14px;
}

.jx-topbar,
.jx-sidebar,
.dashboard-col,
.jx-card,
.jx-panel,
.jx-table-wrap,
.jx-auth-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 33, 30, .88), rgba(8, 16, 15, .94));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.jx-topbar,
.jx-sidebar,
.dashboard-col,
.jx-auth-card { border-radius: var(--radius-lg); overflow: hidden; }
.jx-card,
.jx-panel,
.jx-table-wrap { border-radius: var(--radius-md); overflow: hidden; }
.jx-topbar::after,
.jx-sidebar::after,
.dashboard-col::after,
.jx-auth-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228,204,160,.76), rgba(112,197,170,.48), transparent);
}

.jx-topbar {
  grid-column: 1 / -1;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.jx-mobile-toggle { display: none; }
.jx-brand,
.jx-topbar-actions,
.jx-balance,
.jx-user-pill { display: flex; align-items: center; }
.jx-brand { gap: 12px; text-decoration: none; min-width: 0; }
.jx-brand img { width: 146px; height: 48px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,0,0,.52)); }
.jx-brand span { display: grid; color: var(--gold-soft); font-family: var(--font-display); font-size: 23px; font-weight: 700; line-height: .95; }
.jx-brand span small { margin-top: 4px; color: var(--muted); font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.jx-topbar-actions { gap: 10px; }
.jx-balance,
.jx-user-pill,
.jx-chip {
  min-height: 38px;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(5, 12, 11, .58);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.jx-balance strong { color: var(--gold-soft); font-weight: 800; }
.jx-balance:hover,
.jx-user-pill:hover,
.jx-chip:hover,
.jx-menu a:hover,
.jx-action:hover,
.harmony-button:hover { border-color: rgba(228,204,160,.42); background: var(--surface-hover); color: var(--text); transform: translateY(-1px); }

.jx-sidebar {
  grid-column: 1;
  grid-row: 2;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
}
.jx-sidebar-user { display: flex; align-items: center; gap: 11px; padding: 2px 4px 15px; border-bottom: 1px solid var(--border-soft); }
.jx-avatar,
.jx-profile-avatar,
.jx-icon-bubble { display: inline-flex; align-items: center; justify-content: center; color: #081210; background: linear-gradient(135deg, var(--gold-soft), var(--gold) 58%, var(--gold-dark)); box-shadow: inset 0 1px 0 rgba(255,255,255,.42); }
.jx-avatar { width: 40px; height: 40px; border-radius: var(--radius-sm); font-size: 15px; }
.jx-sidebar-name { color: var(--text); font-size: 14px; font-weight: 800; }
.jx-sidebar-meta { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jx-menu { display: grid; gap: 5px; margin-top: 14px; }
.jx-menu-label { margin: 12px 8px 4px; color: rgba(198,192,182,.56); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jx-menu a {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.jx-menu a::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 999px; background: transparent; }
.jx-menu a.is-active { color: var(--text); border-color: rgba(228,204,160,.18); background: rgba(201,169,106,.08); }
.jx-menu a.is-active::before { background: linear-gradient(180deg, var(--gold-soft), var(--teal-soft)); }
.jx-menu i { width: 17px; color: var(--gold); text-align: center; font-size: 15px; }
.jx-sidebar-spacer { flex: 1; min-height: 18px; }

.jx-dashboard-main { grid-column: 2; grid-row: 2; min-width: 0; }
.dashboard-col { min-height: calc(100vh - 122px); }
.dashboard-col > h3,
.jx-page-title {
  margin: 0;
  padding: 22px 26px 16px !important;
  color: var(--text) !important;
  background: linear-gradient(90deg, rgba(201,169,106,.10), rgba(77,168,140,.08), transparent) !important;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-size: 30px !important;
  line-height: 1.05;
  font-weight: 700 !important;
  letter-spacing: 0;
  text-align: left !important;
  text-transform: none !important;
}
.dashboard-col > h3 i { color: var(--gold); margin-right: 8px; font-size: 18px; }
.jx-content { padding: 22px 26px 26px; }
.jx-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.jx-card,
.jx-panel { padding: 18px; }
.jx-card h4,
.jx-panel h4,
.jx-section-title { margin: 0 0 14px; color: var(--gold-soft); font-family: var(--font-display); font-size: 20px; line-height: 1.1; font-weight: 700; }

.jx-dashboard-hero { margin: 0 0 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(110deg, rgba(6,12,12,.90), rgba(17,31,28,.62)), url("../images/body.png") center 38% / cover no-repeat; box-shadow: var(--shadow-soft); }
.jx-dashboard-hero .jx-kicker { color: var(--gold-soft); }
.jx-dashboard-hero h2 { margin: 6px 0 5px; color: var(--text); font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); line-height: 1; font-weight: 700; }
.jx-dashboard-hero p { max-width: 640px; margin: 0; color: var(--text-secondary); font-size: 14px; }
.jx-profile-grid { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 14px; padding: 22px 26px 26px; }
.jx-profile-card { text-align: center; }
.jx-profile-avatar { width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 50%; font-size: 30px; }
.jx-profile-card h2 { margin: 0; color: var(--text); font-family: var(--font-display); font-size: 28px; line-height: 1; font-weight: 700; }
.jx-profile-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.jx-stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.jx-stat,
.jx-mini-card { padding: 14px; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); background: rgba(5, 12, 11, .48); }
.jx-stat span,
.jx-detail-label,
.jx-kicker { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jx-stat strong,
.jx-detail-value { display: block; margin-top: 3px; color: var(--text); font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.jx-detail-list { display: grid; gap: 0; }
.jx-detail-row { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.jx-detail-row:last-child { border-bottom: 0; }

.jx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 14px; }
.organic-field,
.manual-captcha__row { position: relative; margin-bottom: 14px; }
.organic-field input,
.organic-field select,
.organic-field textarea,
.manual-captcha__input,
.jx-dashboard-main input,
.jx-dashboard-main select,
.jx-dashboard-main textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: var(--radius-sm) !important;
  background: rgba(3, 10, 10, .62) !important;
  color: var(--text) !important;
  font-family: var(--font-body);
  font-size: 14px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.organic-field input::placeholder,
.organic-field textarea::placeholder,
.manual-captcha__input::placeholder { color: rgba(198,192,182,.46); }
.organic-field label,
.manual-captcha__row label,
.jx-dashboard-main label { display: block; margin-bottom: 6px; color: var(--text-secondary) !important; font-size: 12px; font-weight: 800; }
.organic-field input:focus,
.organic-field select:focus,
.manual-captcha__input:focus,
.jx-dashboard-main input:focus,
.jx-dashboard-main select:focus,
.jx-dashboard-main textarea:focus,
.jx-menu a:focus-visible,
.jx-balance:focus-visible,
.jx-user-pill:focus-visible,
.harmony-button:focus-visible,
.jx-action:focus-visible,
.jx-logout-button:focus-visible,
.bakan-nav-link:focus-visible,
.jx-mobile-toggle:focus-visible { border-color: rgba(112,197,170,.62) !important; box-shadow: 0 0 0 3px var(--focus); outline: 0; }

.jx-logout-button,
.jx-action,
.harmony-button,
.jx-dashboard-main button,
.jx-dashboard-main .bg-blue-500,
.jx-dashboard-main .bg-green-500,
.jx-dashboard-main .bg-indigo-600 {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(228,204,160,.24) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text) !important;
  background: linear-gradient(180deg, rgba(201,169,106,.22), rgba(8,16,15,.82)) !important;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.harmony-button { color: #081210 !important; background: linear-gradient(180deg, var(--gold-soft), var(--gold)) !important; border-color: rgba(255,255,255,.20) !important; }
.jx-action { background: rgba(5,12,11,.68) !important; color: var(--gold-soft) !important; }
.jx-logout-button { width: 100%; color: var(--text-secondary) !important; background: rgba(212,106,95,.10) !important; border-color: rgba(212,106,95,.24) !important; }

.manual-captcha { margin-top: 10px; }
.manual-captcha__row { display: grid; grid-template-areas: "label label" "code input"; grid-template-columns: 132px minmax(0,1fr); gap: 8px 10px; align-items: end; }
.manual-captcha__code { grid-area: code; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(228,204,160,.36); border-radius: var(--radius-sm); color: #101714; background: linear-gradient(135deg, #ead8ad, #b99557); font-family: "Courier New", monospace; font-size: 18px; font-weight: 900; letter-spacing: 3px; user-select: none; }
.manual-captcha__input { grid-area: input; }
.manual-captcha__row label { grid-area: label; margin: 0; }
.manual-captcha__hint { margin: -6px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.jx-table-wrap { padding: 0; overflow-x: auto; }
.jx-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.jx-table th { padding: 13px 16px; color: var(--gold-soft); background: rgba(201,169,106,.08); border-bottom: 1px solid var(--border-soft); font-size: 11px; text-align: left; letter-spacing: .08em; text-transform: uppercase; }
.jx-table td { padding: 14px 16px; color: var(--text-secondary); border-top: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; }
.jx-table tr:hover td { background: rgba(255,255,255,.025); color: var(--text); }
.jx-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.jx-status.pending { color: #2f2108; background: var(--warning); }
.jx-status.approved { color: #061a12; background: var(--success); }
.jx-status.rejected { color: #fff; background: var(--danger); }
.jx-empty { padding: 36px 18px; text-align: center; color: var(--muted); font-weight: 700; }

.jx-topup-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; }
.jx-deposit-steps { display: grid; gap: 12px; }
.jx-step-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--gold-soft); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jx-step-label span { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #081210; background: var(--gold); }
.jx-package-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.jx-package-card { padding: 12px; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); background: rgba(255,255,255,.035); }
.jx-package-card strong { display: block; color: var(--text); font-size: 18px; }
.jx-package-card span { color: var(--muted); font-size: 12px; }
.jx-qr-card { text-align: center; }
.jx-qr-card img { width: min(220px, 100%); border-radius: var(--radius-md); border: 1px solid rgba(228,204,160,.28); background: #f8f4e8; padding: 8px; }
.jx-copy-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: end; }

.requirement { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 700; }
.requirement + .requirement { margin-top: 7px; }
.requirement .check { min-width: 30px; color: rgba(198,192,182,.52); font-size: 11px; font-weight: 800; }
.requirement.complete,
.requirement.complete .check { color: var(--teal-soft); }
.text-white,
.text-gray-900,
.text-gray-700,
.text-gray-600 { color: var(--text) !important; }
.text-red-600 { color: #ff9b91 !important; }
.mt-4 { margin-top: 1rem; }
.ml-2 { margin-left: .5rem; }

.jx-auth-body .video-background { position: fixed !important; inset: 0; z-index: 0; width: 100vw !important; height: 100vh !important; max-width: none !important; object-fit: cover; margin: 0 !important; opacity: .32; filter: saturate(1.05) contrast(1.08) brightness(.46); pointer-events: none; }
.bakan-auth-scene { position: relative; min-height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px, 430px); gap: clamp(24px, 5vw, 72px); align-items: center; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 20px 0; z-index: 1; }
.bakan-auth-copy { max-width: 640px; }
.bakan-auth-logo { display: block; width: min(390px, 100%); margin-bottom: 12px; filter: drop-shadow(0 24px 46px rgba(0,0,0,.68)); }
.bakan-eyebrow { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--gold-soft); background: rgba(7,16,15,.58); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bakan-auth-copy h1 { margin: 12px 0 10px; color: var(--text); font-family: var(--font-display); font-size: clamp(44px, 7vw, 78px); line-height: .9; font-weight: 700; letter-spacing: 0; text-shadow: 0 18px 46px rgba(0,0,0,.68); }
.bakan-auth-copy p { max-width: 560px; margin: 0; color: var(--text-secondary); font-size: 15px; font-weight: 500; }
.bakan-auth-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.bakan-auth-stat { min-height: 62px; padding: 11px; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); background: rgba(7,16,15,.58); }
.bakan-auth-stat strong { display: block; color: var(--gold-soft); font-family: var(--font-display); font-size: 24px; line-height: .95; }
.bakan-auth-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }
.bakan-auth-panel { width: 100%; }
.jx-auth-body .navbar { position: relative; z-index: 2; display: flex !important; align-items: center; justify-content: space-between; min-height: 64px; padding: 8px clamp(16px, 4vw, 34px) !important; background: rgba(5,12,12,.74) !important; border-bottom: 1px solid var(--border-soft) !important; }
.jx-auth-body .navbar-logo img { width: 136px; height: 44px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0,0,0,.55)); }
.jx-auth-body .navbar-buttons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.jx-auth-body .navbar-buttons a,
.bakan-nav-link { min-height: 38px; display: inline-flex; align-items: center; margin-left: 0 !important; padding: 8px 12px !important; border: 1px solid var(--border-soft); border-radius: var(--radius-sm) !important; background: rgba(5,12,11,.52) !important; color: var(--text-secondary) !important; box-shadow: none; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; transition: all .18s ease; }
.jx-auth-body .navbar-buttons a:hover,
.bakan-nav-link:hover { border-color: rgba(228,204,160,.42); color: var(--text) !important; background: rgba(23,39,35,.72) !important; }
.jx-auth-body .login-container { width: 100% !important; max-width: none !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; }
.jx-auth-card { width: 100%; padding: 22px; }
.jx-auth-card h3 { margin: 0 0 5px; color: var(--text) !important; font-family: var(--font-display); font-size: 30px !important; line-height: 1; font-weight: 700; }
.mindful-header { text-align: center; margin-bottom: 14px; }
.mindful-header p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.zen-logo { width: 126px; height: 44px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.zen-logo img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 14px 26px rgba(0,0,0,.62)); }
.jx-auth-card .organic-field { display: flex; flex-direction: column-reverse; gap: 6px; margin-bottom: 9px; }
.jx-auth-card .organic-field label { margin-bottom: 0; text-align: left; }
.mindful-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.mindful-options input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; padding: 0 !important; border-radius: 4px !important; accent-color: var(--gold); }
.healing-link,
.growth-link { color: var(--gold-soft); font-weight: 800; text-decoration: none; }
.healing-link:hover,
.growth-link:hover { color: var(--teal-soft); }
.balance-divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 12px 0 10px; }
.divider-branch { height: 1px; background: linear-gradient(90deg, transparent, rgba(228,204,160,.32), transparent); }
.divider-center { min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-soft); border-radius: 50%; color: var(--muted); background: rgba(5,12,11,.46); font-size: 11px; font-weight: 800; }
.nurture-signup { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; }
.jx-auth-card input,
.jx-auth-card select { width: 100%; min-height: 42px; border: 1px solid rgba(255,255,255,.10) !important; border-radius: var(--radius-sm) !important; background: rgba(3,10,10,.62) !important; color: var(--text) !important; padding: 9px 12px !important; outline: 0; }
.jx-auth-card .manual-captcha { margin-top: 8px; }
.jx-auth-card .manual-captcha__row { grid-template-columns: 122px minmax(0,1fr); gap: 8px; margin-bottom: 8px; }
.jx-auth-card .manual-captcha__code { min-height: 42px; font-size: 17px; }
.jx-auth-card .manual-captcha__hint { margin: -4px 0 10px; font-size: 11px; }
.jx-auth-card .harmony-button { min-height: 40px; padding: 8px 14px; width: 100%; }
#helpPopup { background: rgba(5,12,12,.78) !important; backdrop-filter: blur(6px); }

@media (max-width: 1120px) {
  .jx-dashboard-shell { grid-template-columns: 1fr; grid-template-rows: 68px minmax(0,1fr); padding: 12px; }
  .jx-mobile-toggle { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); color: var(--text); background: rgba(5,12,11,.58); }
  .jx-sidebar { position: fixed; z-index: 50; left: 12px; top: 12px; bottom: 12px; width: min(280px, calc(100vw - 28px)); transform: translateX(calc(-100% - 24px)); transition: transform .22s ease; }
  .jx-sidebar.is-open { transform: translateX(0); }
  .jx-sidebar-scrim { position: fixed; inset: 0; z-index: 45; display: none; background: rgba(0,0,0,.56); }
  .jx-sidebar-scrim.is-open { display: block; }
  .jx-dashboard-main { grid-column: 1; grid-row: 2; }
  .jx-profile-grid,
  .jx-topup-layout { grid-template-columns: 1fr; }
  .jx-grid > .jx-panel { grid-column: 1 / -1 !important; }
}
@media (max-width: 1080px) {
  .bakan-auth-scene { grid-template-columns: 1fr; width: min(760px, calc(100% - 32px)); min-height: auto; padding-top: 26px; }
  .bakan-auth-copy { max-width: none; text-align: center; }
  .bakan-auth-logo,
  .bakan-auth-copy p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .jx-auth-body .navbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .jx-auth-body .navbar-buttons { width: 100%; display: grid; grid-template-columns: 1fr; }
  .jx-auth-body .navbar-buttons a { justify-content: center; width: 100%; min-width: 0; white-space: normal; }
  .bakan-auth-stats { grid-template-columns: 1fr; }
  .jx-topbar { min-height: auto; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
  .jx-topbar-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .jx-brand span,
  .jx-balance span { display: none; }
  .jx-brand img { width: 138px; }
  .jx-form-grid,
  .jx-detail-row,
  .jx-stat-row,
  .manual-captcha__row,
  .jx-copy-row { grid-template-columns: 1fr; grid-template-areas: "label" "code" "input"; }
  .dashboard-col > h3,
  .jx-page-title,
  .jx-content,
  .jx-profile-grid { padding-left: 16px !important; padding-right: 16px !important; }
  .jx-auth-card { padding: 20px 18px; }
  .mindful-options { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Concept A refinements - premium dark wuxia portal */
.jx-concept-auth .jx-dashboard-bg {
  background:
    linear-gradient(90deg, rgba(3, 9, 9, .94), rgba(6, 13, 12, .42) 48%, rgba(3, 9, 9, .92)),
    radial-gradient(circle at 42% 22%, rgba(228, 204, 160, .16), transparent 20%),
    url("../images/body.png") center top / cover fixed no-repeat;
}
.jx-concept-auth .video-background { opacity: .18; }
.jx-concept-auth .navbar { width: min(1440px, calc(100% - 48px)); margin: 18px auto 0; border: 1px solid var(--border) !important; border-radius: 10px; background: rgba(7, 16, 15, .58) !important; }
.jx-concept-auth .bakan-auth-scene { width: min(1440px, calc(100% - 48px)); min-height: calc(100vh - 104px); grid-template-columns: minmax(420px, .92fr) minmax(360px, 440px); padding: 18px 46px 32px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 10px 10px; background: linear-gradient(90deg, rgba(5,12,11,.62), transparent 58%); }
.jx-concept-auth .bakan-auth-logo { width: 188px; margin-bottom: 30px; }
.jx-concept-auth .bakan-auth-copy h1 { max-width: 420px; font-size: clamp(46px, 5vw, 66px); line-height: .93; }
.bakan-auth-features { display: grid; gap: 12px; margin-top: 24px; max-width: 360px; }
.bakan-auth-features div { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); font-size: 13px; font-weight: 700; }
.bakan-auth-features i { width: 22px; color: var(--gold-soft); text-align: center; }
.bakan-auth-copy blockquote { max-width: 390px; margin: 34px 0 0; padding-left: 16px; border-left: 2px solid rgba(228,204,160,.45); color: rgba(242,237,227,.76); font-family: var(--font-display); font-size: 18px; font-style: italic; }
.jx-login-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 12px 0 14px; border-bottom: 1px solid var(--border-soft); }
.jx-login-tabs button { min-height: 34px; border: 0 !important; border-bottom: 1px solid transparent !important; border-radius: 0 !important; background: transparent !important; color: var(--muted) !important; font-size: 12px; font-weight: 800; }
.jx-login-tabs button.is-active { color: var(--gold-soft) !important; border-bottom-color: var(--gold-soft) !important; }
.jx-auth-card { max-width: 430px; margin-left: auto; padding: 28px; background: linear-gradient(180deg, rgba(12,23,21,.86), rgba(5,12,11,.92)); }
.jx-auth-card .zen-logo { display: none; }
.jx-auth-card .mindful-header { text-align: left; }
.jx-auth-card h3 { font-size: 34px !important; }

.jx-dashboard-shell { max-width: 1440px; }
.jx-sidebar { background: linear-gradient(180deg, rgba(9,19,17,.95), rgba(5,12,11,.96)), url("../images/body.png") left bottom / 220px auto no-repeat; }
.jx-menu a { min-height: 36px; }
.jx-topbar { background: rgba(8, 17, 16, .82); }
.jx-brand img { width: 128px; }
.jx-concept-hero { min-height: 146px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(90deg, rgba(5,12,11,.92), rgba(8,17,16,.50)), url("../images/body.png") center 34% / cover no-repeat; }
.jx-concept-hero blockquote { max-width: 300px; margin: 0; color: rgba(228,204,160,.78); font-family: var(--font-display); font-size: 18px; font-style: italic; text-align: right; }
.jx-overview-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.jx-overview-card { min-height: 116px; padding: 16px; border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: rgba(9, 19, 17, .78); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.jx-overview-card i { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--gold-soft); background: rgba(201,169,106,.10); }
.jx-overview-card span { display: block; margin-top: 11px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jx-overview-card strong { display: block; margin-top: 4px; color: var(--text); font-size: 17px; font-weight: 800; }
.jx-overview-card a { display: inline-flex; margin-top: 7px; color: var(--teal-soft); font-size: 12px; font-weight: 800; text-decoration: none; }
.jx-concept-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 14px; }
.jx-event-card { min-height: 220px; background: linear-gradient(180deg, rgba(9,19,17,.68), rgba(5,12,11,.90)), url("../images/body.png") center / cover no-repeat; }
.jx-event-card p { color: var(--text-secondary); font-size: 13px; }

.jx-security-head { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(90deg, rgba(9,19,17,.94), rgba(13,31,27,.78)); }
.jx-security-head h4 { margin: 4px 0; color: var(--teal-soft); font-family: var(--font-display); font-size: 30px; }
.jx-security-head p { max-width: 640px; margin: 0; color: var(--text-secondary); font-size: 13px; }
.jx-security-ring { width: 88px; height: 88px; display: grid; place-items: center; border: 2px solid rgba(112,197,170,.45); border-radius: 50%; color: var(--teal-soft); background: radial-gradient(circle, rgba(112,197,170,.18), transparent 62%); font-size: 34px; }
.jx-security-checks { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.jx-security-checks div { padding: 13px; border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: rgba(9,19,17,.72); }
.jx-security-checks strong, .jx-security-checks small { display: block; }
.jx-security-checks strong { margin-top: 8px; color: var(--text); font-size: 13px; }
.jx-security-checks small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.jx-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: rgba(198,192,182,.34); }
.jx-dot.is-good { background: var(--teal-soft); box-shadow: 0 0 0 4px rgba(112,197,170,.10); }
.jx-security-form { max-width: 820px; }

.jx-deposit-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.jx-deposit-progress div { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 12px; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); color: var(--muted); background: rgba(9,19,17,.62); }
.jx-deposit-progress span { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 800; }
.jx-deposit-progress strong { font-size: 12px; }
.jx-deposit-progress .is-active { color: var(--text); border-color: rgba(228,204,160,.28); }
.jx-deposit-progress .is-active span { color: #07100f; background: var(--gold-soft); }
.jx-hidden-select select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.jx-hidden-select label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.jx-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.jx-package-choice { position: relative; min-height: 96px; display: block; padding: 13px; border: 1px solid var(--border-soft) !important; border-radius: var(--radius-sm) !important; background: rgba(8,17,16,.72) !important; color: var(--text) !important; text-align: left; }
.jx-package-choice.is-active { border-color: rgba(228,204,160,.72) !important; background: rgba(201,169,106,.12) !important; box-shadow: inset 0 0 0 1px rgba(228,204,160,.18); }
.jx-package-choice em { position: absolute; right: 9px; top: 8px; padding: 2px 7px; border-radius: 999px; color: #07100f; background: var(--gold-soft); font-size: 10px; font-style: normal; font-weight: 800; }
.jx-package-choice span, .jx-package-choice strong, .jx-package-choice small { display: block; }
.jx-package-choice span { color: var(--gold-soft); font-size: 13px; font-weight: 800; }
.jx-package-choice strong { margin-top: 8px; font-size: 18px; }
.jx-package-choice small { margin-top: 5px; color: var(--muted); }
.jx-payment-panel { background: linear-gradient(180deg, rgba(9,19,17,.88), rgba(5,12,11,.96)); }
.jx-bank-select { min-height: 38px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 8px 11px; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); background: rgba(255,255,255,.04); color: var(--text-secondary); font-size: 13px; font-weight: 800; }
.jx-payment-lines { display: grid; gap: 8px; margin-top: 12px; text-align: left; }
.jx-payment-lines div { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--border-soft); }
.jx-payment-lines span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.jx-payment-lines strong { color: var(--text); font-size: 12px; text-align: right; }

@media (max-width: 1120px) {
  .jx-overview-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .jx-concept-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .jx-concept-auth .navbar, .jx-concept-auth .bakan-auth-scene { width: min(100% - 24px, 760px); }
  .jx-concept-auth .bakan-auth-scene { padding: 18px; }
  .jx-concept-auth .bakan-auth-logo { width: 150px; }
  .bakan-auth-features { max-width: none; }
  .jx-concept-hero { display: block; }
  .jx-concept-hero blockquote { margin-top: 14px; text-align: left; }
  .jx-overview-stats, .jx-security-checks, .jx-deposit-progress, .jx-package-grid { grid-template-columns: 1fr; }
  .jx-security-head { grid-template-columns: 1fr; }
}

/* QR readability pass - 2026-10-14 */
.jx-topup-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  align-items: start;
}
.jx-payment-panel,
.jx-qr-card {
  overflow: visible;
}
.jx-qr-card img {
  width: min(330px, 100%) !important;
  max-width: 100%;
  padding: 12px;
  border-radius: 12px;
}
.jx-payment-panel .jx-kicker {
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1120px) {
  .jx-topup-layout {
    grid-template-columns: 1fr;
  }
  .jx-qr-card img {
    width: min(340px, 92vw) !important;
  }
}
@media (max-width: 480px) {
  .jx-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .jx-qr-card {
    padding-left: 12px;
    padding-right: 12px;
  }
  .jx-qr-card img {
    width: min(310px, calc(100vw - 64px)) !important;
    padding: 10px;
  }
  .jx-payment-lines div {
    display: grid;
    gap: 3px;
  }
  .jx-payment-lines strong {
    text-align: left;
  }
}

/* QR zoom and mobile overflow hardening - 2026-10-14 */
.jx-payment-panel .jx-qr-card img,
.jx-payment-panel img {
  width: min(380px, 100%) !important;
  height: 380px;
  object-fit: cover;
  object-position: 58% 64%;
}
@media (min-width: 1121px) {
  .jx-topup-layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 470px);
  }
}
@media (max-width: 760px) {
  html,
  body,
  .jx-dashboard-body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .jx-dashboard-shell {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .jx-dashboard-main,
  .dashboard-col,
  .jx-panel,
  .jx-card,
  .jx-package-choice,
  .jx-payment-panel {
    min-width: 0;
    max-width: 100%;
  }
  .jx-topbar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
  }
  .jx-mobile-toggle {
    grid-column: 1;
  }
  .jx-brand {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }
  .jx-brand img {
    width: 118px;
  }
  .jx-topbar-actions {
    grid-column: 1 / -1;
  }
  .jx-payment-panel .jx-qr-card img,
  .jx-payment-panel img {
    width: min(340px, calc(100vw - 48px)) !important;
    height: min(340px, calc(100vw - 48px));
    object-position: 58% 64%;
  }
}
@media (max-width: 420px) {
  .jx-payment-panel .jx-qr-card img,
  .jx-payment-panel img {
    width: min(330px, calc(100vw - 40px)) !important;
    height: min(330px, calc(100vw - 40px));
  }
}

/* Payment text wrapping polish - 2026-10-14 */
.jx-payment-lines,
.jx-payment-lines div,
.jx-payment-lines strong {
  min-width: 0;
}
.jx-payment-lines strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 480px) {
  .jx-payment-lines div {
    display: grid !important;
    grid-template-columns: 1fr;
  }
  .jx-payment-lines strong {
    text-align: left !important;
  }
}

/* Deposit package card alignment fix - 2026-10-14 */
.jx-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.jx-package-choice {
  min-height: 88px !important;
  height: 88px;
  display: grid !important;
  grid-template-rows: auto 1fr auto;
  align-content: center;
  justify-items: start;
  gap: 4px;
  padding: 14px 16px !important;
}
.jx-package-choice span {
  font-size: 13px !important;
  line-height: 1;
}
.jx-package-choice strong {
  margin-top: 0 !important;
  color: var(--text);
  font-size: clamp(18px, 1.35vw, 22px) !important;
  line-height: 1.05;
  white-space: nowrap;
}
.jx-package-choice small {
  margin-top: 0 !important;
  min-height: 14px;
  font-size: 11px;
  line-height: 1.1;
}
.jx-package-choice:not(:has(small))::after {
  content: "";
  min-height: 14px;
}
@supports not selector(:has(*)) {
  .jx-package-choice::after {
    content: "";
    min-height: 14px;
  }
}
@media (max-width: 1280px) and (min-width: 761px) {
  .jx-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .jx-package-choice {
    height: 76px;
    min-height: 76px !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    column-gap: 12px;
  }
  .jx-package-choice span {
    grid-row: 1 / -1;
    align-self: center;
    min-width: 62px;
  }
  .jx-package-choice strong {
    font-size: 20px !important;
  }
  .jx-package-choice small,
  .jx-package-choice::after {
    grid-column: 2;
  }
}

/* Deposit package premium selector rebuild - 2026-10-14 */
.jx-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.jx-package-choice {
  width: 100%;
  height: 86px !important;
  min-height: 86px !important;
  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: stretch;
  column-gap: 12px;
  row-gap: 2px;
  padding: 13px 14px !important;
  overflow: hidden;
}
.jx-package-choice::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 99px;
  background: rgba(77, 168, 140, .38);
  opacity: .72;
}
.jx-package-choice.is-active::before {
  background: var(--gold-soft);
  opacity: 1;
}
.jx-package-choice em {
  right: 8px !important;
  top: 7px !important;
  padding: 2px 6px !important;
  font-size: 9px !important;
  line-height: 1.25;
}
.jx-package-choice .jx-package-amount {
  grid-row: 1 / 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 34px;
  border: 1px solid rgba(228, 204, 160, .18);
  border-radius: 7px;
  background: rgba(201, 169, 106, .08);
  color: var(--gold-soft);
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1;
}
.jx-package-choice .jx-package-points {
  align-self: end;
  margin: 0 !important;
  padding-right: 48px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
}
.jx-package-choice .jx-package-unit {
  align-self: start;
  min-height: 14px;
  margin: 0 !important;
  color: var(--muted);
  font-size: 11px !important;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1360px) and (min-width: 761px) {
  .jx-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .jx-package-grid {
    grid-template-columns: 1fr !important;
  }
  .jx-package-choice {
    height: 72px !important;
    min-height: 72px !important;
    grid-template-columns: 66px minmax(0, 1fr);
    padding: 11px 13px !important;
  }
  .jx-package-choice .jx-package-amount {
    height: 32px;
    min-width: 56px;
  }
  .jx-package-choice .jx-package-points {
    font-size: 21px !important;
    padding-right: 54px;
  }
}
@media (max-width: 420px) {
  .jx-package-choice .jx-package-points {
    font-size: 20px !important;
  }
  .jx-package-choice .jx-package-unit {
    max-width: 190px;
  }
}

/* Deposit mobile UX redesign - 2026-10-14 */
@media (max-width: 760px) {
  .jx-dashboard-body {
    background: #050b0a;
  }
  .jx-dashboard-bg {
    background:
      linear-gradient(180deg, rgba(5, 10, 10, .88), rgba(5, 10, 10, .98)),
      radial-gradient(circle at 78% 8%, rgba(77, 168, 140, .16), transparent 26%),
      radial-gradient(circle at 15% 16%, rgba(201, 169, 106, .12), transparent 30%),
      url("../images/body.png") center top / cover no-repeat;
  }
  .jx-dashboard-bg::after {
    opacity: .16;
    background-size: 72px 72px;
  }
  .jx-dashboard-shell {
    width: 100%;
    min-height: 100svh;
    padding: max(10px, env(safe-area-inset-top)) 10px max(18px, env(safe-area-inset-bottom));
    gap: 10px;
    grid-template-rows: 58px minmax(0, 1fr);
  }
  .jx-topbar {
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(7, 18, 16, .92), rgba(4, 10, 10, .96));
  }
  .jx-mobile-toggle {
    min-width: 38px;
    min-height: 38px;
    border-radius: 9px;
  }
  .jx-brand {
    gap: 0;
  }
  .jx-brand img {
    width: 104px !important;
  }
  .jx-brand span,
  .jx-topbar-actions {
    display: none !important;
  }
  .dashboard-col {
    min-height: auto;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(15, 31, 27, .92), rgba(4, 10, 10, .95));
  }
  .dashboard-col > h3,
  .jx-page-title {
    padding: 18px 18px 16px !important;
    font-size: 28px !important;
    line-height: 1;
    background: linear-gradient(90deg, rgba(201,169,106,.12), rgba(77,168,140,.10), transparent) !important;
  }
  .dashboard-col > h3 i {
    font-size: 14px;
    margin-right: 7px;
    transform: translateY(-2px);
  }
  .jx-content {
    padding: 14px 16px 18px !important;
  }
  .jx-deposit-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
    margin-bottom: 14px;
  }
  .jx-deposit-progress div {
    min-height: 48px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    padding: 8px 7px;
    border-radius: 10px;
  }
  .jx-deposit-progress span {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .jx-deposit-progress strong {
    min-width: 0;
    font-size: 11px;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .jx-topup-layout {
    gap: 14px;
  }
  .jx-panel {
    padding: 16px !important;
    border-radius: 12px;
  }
  .jx-panel h4 {
    margin-bottom: 8px;
    font-size: 21px;
  }
  .jx-kicker {
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: .06em;
  }
  .jx-deposit-steps {
    gap: 10px;
    margin-top: 14px !important;
  }
  .jx-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 2px 0 14px;
  }
  .jx-package-choice {
    height: 92px !important;
    min-height: 92px !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 12px !important;
    border-radius: 11px !important;
    background:
      linear-gradient(135deg, rgba(201, 169, 106, .11), transparent 58%),
      rgba(8, 17, 16, .78) !important;
  }
  .jx-package-choice::before {
    left: 0;
    top: 11px;
    bottom: 11px;
  }
  .jx-package-choice .jx-package-amount {
    width: auto;
    min-width: 66px;
    height: 30px;
    padding: 0 9px;
    justify-content: center;
    font-size: 12px !important;
  }
  .jx-package-choice .jx-package-points {
    width: 100%;
    padding-right: 0;
    font-size: clamp(19px, 5.6vw, 23px) !important;
    line-height: .95;
  }
  .jx-package-choice .jx-package-unit {
    width: 100%;
    max-width: 100%;
    font-size: 10px !important;
    line-height: 1;
  }
  .jx-package-choice em {
    right: 7px !important;
    top: 7px !important;
  }
  .jx-copy-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .jx-copy-row .jx-action,
  .harmony-button {
    width: 100%;
    min-height: 44px;
    border-radius: 10px !important;
    font-size: 13px;
  }
  .organic-field {
    margin-bottom: 12px;
  }
  .organic-field input,
  .organic-field select,
  .organic-field textarea,
  .jx-dashboard-main input,
  .jx-dashboard-main select,
  .jx-dashboard-main textarea {
    min-height: 44px;
    border-radius: 10px !important;
    font-size: 15px;
  }
  .jx-payment-panel {
    padding: 18px 16px !important;
    background: linear-gradient(180deg, rgba(8, 18, 16, .94), rgba(4, 10, 10, .97));
  }
  .jx-payment-panel h4 {
    margin-bottom: 14px;
    text-align: center;
  }
  .jx-payment-panel .jx-qr-card img,
  .jx-payment-panel img {
    width: min(360px, calc(100vw - 72px)) !important;
    height: min(360px, calc(100vw - 72px));
    max-width: 100%;
    margin: 0 auto;
    padding: 9px;
    border-radius: 13px;
  }
  .jx-payment-lines {
    gap: 0;
    margin-top: 14px;
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    overflow: hidden;
    background: rgba(255, 255, 255, .025);
  }
  .jx-payment-lines div {
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 10px 11px !important;
    border-top: 0;
  }
  .jx-payment-lines div + div {
    border-top: 1px solid var(--border-soft);
  }
  .jx-payment-lines strong {
    text-align: right !important;
    font-size: 12px;
  }
  .jx-payment-panel .jx-kicker {
    max-width: 280px;
    margin-top: 12px !important;
    text-align: center;
  }
}
@media (max-width: 350px) {
  .jx-package-grid {
    grid-template-columns: 1fr !important;
  }
  .jx-deposit-progress strong {
    display: none;
  }
  .jx-deposit-progress div {
    display: flex;
    justify-content: center;
  }
}

/* Narrow phone composition hardening - 2026-10-14 */
@media (max-width: 520px) {
  .jx-dashboard-shell {
    width: min(100%, 390px);
    margin-left: auto;
    margin-right: auto;
  }
  .jx-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .jx-panel {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .jx-deposit-progress {
    gap: 5px;
  }
  .jx-deposit-progress div {
    min-width: 0;
    padding-left: 6px;
    padding-right: 6px;
  }
  .jx-deposit-progress strong {
    font-size: 10px;
  }
  .jx-package-grid {
    gap: 7px !important;
  }
  .jx-package-choice {
    height: 86px !important;
    min-height: 86px !important;
    padding: 10px !important;
    justify-content: space-between;
  }
  .jx-package-choice .jx-package-amount {
    min-width: 60px;
    height: 27px;
    padding: 0 8px;
    font-size: 11px !important;
  }
  .jx-package-choice .jx-package-points {
    font-size: clamp(18px, 5.2vw, 20px) !important;
  }
  .jx-payment-panel .jx-qr-card img,
  .jx-payment-panel img {
    width: min(344px, calc(100vw - 62px)) !important;
    height: min(344px, calc(100vw - 62px));
  }
  .jx-payment-lines div {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  .jx-payment-lines strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 370px) {
  .jx-package-grid {
    grid-template-columns: 1fr !important;
  }
  .jx-package-choice {
    height: 72px !important;
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-content: initial;
    column-gap: 10px;
    row-gap: 2px;
  }
  .jx-package-choice .jx-package-amount {
    grid-row: 1 / 3;
    align-self: center;
  }
  .jx-package-choice .jx-package-points,
  .jx-package-choice .jx-package-unit {
    grid-column: 2;
  }
}

/* Deposit mobile final polish - 2026-10-14 */
.jx-step-short {
  display: none;
}
@media (max-width: 760px) {
  .jx-step-full {
    display: none;
  }
  .jx-step-short {
    display: inline;
  }
  .jx-deposit-progress strong b {
    font: inherit;
  }
  .jx-package-choice .jx-package-amount {
    align-self: flex-start !important;
    margin: 0 !important;
  }
  .jx-package-choice .jx-package-points,
  .jx-package-choice .jx-package-unit {
    align-self: stretch !important;
  }
  .jx-payment-panel .jx-qr-card img,
  .jx-payment-panel img {
    width: 100% !important;
    max-width: 344px;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 520px) {
  .jx-payment-lines div {
    grid-template-columns: 1fr !important;
    gap: 4px;
  }
  .jx-payment-lines strong {
    text-align: left !important;
    font-size: 13px;
    line-height: 1.35;
  }
  .jx-payment-lines span {
    font-size: 10px;
  }
}
