/* Luuqo Affiliate V2 (affiliate.luuqo.com). Ported from the Magic Patterns
   design (pc8arzlo9151l7tjt9qgyn) to plain CSS: no build, no purge. Light
   only. Colourful with purpose: one hue per card, text on a tint always uses
   the 700 shade (WCAG AA), tinted shadows under hero and module cards. */

:root {
    --brand-50: #F5F1FE; --brand-100: #EDE6FD; --brand-200: #DDD0FB; --brand-500: #7C3AED; --brand-600: #6D28D9; --brand-700: #5B21B6;
    --accent: #DB2777;
    --gold: #D4A017; --gold-soft: #FBF4DE; --gold-ink: #7A5A06;
    --ink: #1E1B4B; --ink-muted: #57547A; --ink-subtle: #7C7998;
    --canvas: #F6F5FB; --line: #ECEAF4; --white: #fff;
    --success: #15803D; --success-soft: #E7F6EC;
    --warn: #B45309; --warn-soft: #FEF3E2;
    --danger: #DC2626; --danger-ink: #B91C1C; --danger-soft: #FDEDED;
    --wa: #13853F;
    --sh-card: 0 1px 2px rgba(30,27,75,.04), 0 8px 24px -12px rgba(30,27,75,.14);
    --sh-nav: 0 12px 32px -10px rgba(30,27,75,.28), 0 2px 6px rgba(30,27,75,.06);
    --sh-hero: 0 18px 36px -18px rgba(109,40,217,.7);
    --sh-sheet: 0 -12px 40px -12px rgba(30,27,75,.25);
    --ease-out: cubic-bezier(.23,1,.32,1);
    --ease-std: cubic-bezier(.2,0,0,1);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
    /* the hue set: fill, tint, ink (text on the tint), shadow */
    --violet: #7C3AED; --violet-t: #F1EBFE; --violet-i: #5B21B6; --violet-s: rgba(124,58,237,.42);
    --pink: #DB2777; --pink-t: #FDEBF4; --pink-i: #9D174D; --pink-s: rgba(219,39,119,.38);
    --teal: #0D9488; --teal-t: #E2F6F3; --teal-i: #115E59; --teal-s: rgba(13,148,136,.38);
    --amber: #D97706; --amber-t: #FEF3DF; --amber-i: #92400E; --amber-s: rgba(217,119,6,.36);
    --sky: #0284C7; --sky-t: #E2F2FC; --sky-i: #075985; --sky-s: rgba(2,132,199,.36);
    --emerald: #059669; --emerald-t: #E3F6EE; --emerald-i: #065F46; --emerald-s: rgba(5,150,105,.36);
    --orange: #EA580C; --orange-t: #FFEDE3; --orange-i: #9A3412; --orange-s: rgba(234,88,12,.36);
    --rose: #E11D48; --rose-t: #FDE7EC; --rose-i: #9F1239; --rose-s: rgba(225,29,72,.36);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #E9E7F1; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.ax-d { font-family: 'Sora', 'Inter', system-ui, sans-serif; }
.ax-num { font-variant-numeric: tabular-nums; }
.ax-i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

/* THE APP COLUMN: a phone-width app, centred on a soft canvas on desktop. */
.ax-app { position: relative; max-width: 460px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--canvas); overflow-x: clip; }
@media (min-width: 520px) { .ax-app { box-shadow: 0 0 0 1px rgba(30,27,75,.05), 0 30px 80px -40px rgba(30,27,75,.35); } }
.ax-view { min-height: 100vh; min-height: 100dvh; }
.ax-page { padding: calc(20px + var(--safe-t)) 16px calc(116px + var(--safe-b)); }
.ax-page.is-auth { padding: 0 0 calc(32px + var(--safe-b)); min-height: 100dvh; display: flex; flex-direction: column; }
.ax-stack > * + *, .ax-page.ax-stack > .ax-h1 + *, .ax-page.ax-stack > * + .ax-h2 { margin-top: 16px; }
.ax-page.ax-stack > .ax-h2 + * { margin-top: 10px; }

/* page swap: out 90 ms, in 210 ms (opacity + scale .98) */
.ax-view.is-out { opacity: 0; transition: opacity .09s linear; }
.ax-view.is-in { animation: ax-in .21s var(--ease-std) both; }
@keyframes ax-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.ax-rise > * { animation: ax-rise .28s var(--ease-out) both; }
.ax-rise > *:nth-child(2) { animation-delay: .05s; } .ax-rise > *:nth-child(3) { animation-delay: .1s; }
.ax-rise > *:nth-child(4) { animation-delay: .15s; } .ax-rise > *:nth-child(5) { animation-delay: .2s; }
.ax-rise > *:nth-child(n+6) { animation-delay: .25s; }
@keyframes ax-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ax-list-in > * { animation: ax-li .24s var(--ease-out) both; }
@keyframes ax-li { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* PRESS + RIPPLE */
.ax-press { position: relative; overflow: hidden; isolation: isolate; cursor: pointer; transition: transform .12s var(--ease-out), box-shadow .2s var(--ease-out); user-select: none; -webkit-user-select: none; }
.ax-press:active { transform: scale(.97); }
.ax-press:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.ax-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .14; transform: scale(.1); animation: ax-ripple .3s var(--ease-out) forwards; z-index: -1; }
@keyframes ax-ripple { to { transform: scale(1); opacity: 0; } }
.ax-lift:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* HEADINGS AND TEXT */
.ax-h1 { font-family: 'Sora', sans-serif; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.ax-h2 { font-family: 'Sora', sans-serif; font-size: 17px; line-height: 24px; font-weight: 600; margin: 0; }
.ax-sub { font-size: 13px; line-height: 19px; color: var(--ink-muted); margin: 4px 0 0; }
.ax-muted { color: var(--ink-muted); }
.ax-small { font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.ax-row { display: flex; align-items: center; gap: 12px; }
.ax-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ax-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

/* CARDS */
.ax-card { background: #fff; border-radius: 22px; box-shadow: var(--sh-card); }
.ax-card-p { padding: 16px; }
.ax-card-24 { border-radius: 24px; }
.ax-list { list-style: none; margin: 0; padding: 0; }
.ax-list > li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.ax-list > li + li { border-top: 1px solid var(--line); }
.ax-tile { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; flex: none; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; }
.ax-tile-sm { width: 36px; height: 36px; border-radius: 12px; }
.ax-tile-lg { width: 56px; height: 56px; border-radius: 20px; }
.ax-round { border-radius: 999px; }
.ax-note { border-radius: 20px; padding: 14px 16px; font-size: 13px; line-height: 20px; display: flex; gap: 10px; align-items: flex-start; }
.ax-note .ax-i { width: 18px; height: 18px; margin-top: 1px; }

/* hues: .hue-x sets --h (fill) --ht (tint) --hi (ink) --hs (shadow) */
.hue-violet { --h: var(--violet); --ht: var(--violet-t); --hi: var(--violet-i); --hs: var(--violet-s); }
.hue-pink { --h: var(--pink); --ht: var(--pink-t); --hi: var(--pink-i); --hs: var(--pink-s); }
.hue-teal { --h: var(--teal); --ht: var(--teal-t); --hi: var(--teal-i); --hs: var(--teal-s); }
.hue-amber { --h: var(--amber); --ht: var(--amber-t); --hi: var(--amber-i); --hs: var(--amber-s); }
.hue-sky { --h: var(--sky); --ht: var(--sky-t); --hi: var(--sky-i); --hs: var(--sky-s); }
.hue-emerald { --h: var(--emerald); --ht: var(--emerald-t); --hi: var(--emerald-i); --hs: var(--emerald-s); }
.hue-orange { --h: var(--orange); --ht: var(--orange-t); --hi: var(--orange-i); --hs: var(--orange-s); }
.hue-rose { --h: var(--rose); --ht: var(--rose-t); --hi: var(--rose-i); --hs: var(--rose-s); }
.tint { background: var(--ht); color: var(--hi); }
.fill { background: var(--h); color: #fff; }
.ink { color: var(--hi); }
.hue-shadow { box-shadow: 0 1px 2px rgba(30,27,75,.04), 0 16px 32px -16px var(--hs); }
.hue-shadow.ax-press:hover { box-shadow: 0 1px 2px rgba(30,27,75,.04), 0 20px 36px -14px var(--hs); }

/* BUTTONS: the label never changes, never greys out; a spinner slides in. */
.ax-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; border: 0; font-weight: 600; white-space: nowrap; text-decoration: none; }
.ax-btn > .ax-btn-ic { display: inline-flex; width: 0; overflow: hidden; transition: width .2s var(--ease-std), margin .2s var(--ease-std); }
.ax-btn > .ax-btn-ic.on { width: 18px; margin-right: 8px; }
.ax-btn > .ax-i { margin-right: 8px; width: 18px; height: 18px; }
.ax-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.ax-btn-md { height: 44px; padding: 0 16px; font-size: 14px; border-radius: 16px; }
.ax-btn-lg { height: 52px; padding: 0 20px; font-size: 15px; border-radius: 16px; }
.ax-btn-full { width: 100%; }
.ax-btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 8px 18px -8px rgba(109,40,217,.6); }
.ax-btn-primary:hover { background: var(--brand-700); }
.ax-btn-secondary { background: var(--brand-50); color: var(--brand-700); }
.ax-btn-secondary:hover { background: var(--brand-100); }
.ax-btn-ghost { background: transparent; color: var(--brand-700); }
.ax-btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 18px -8px rgba(19,133,63,.55); }
.ax-btn-light { background: #fff; color: var(--brand-700); }
.ax-btn-glass { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.ax-btn-danger { background: var(--danger-soft); color: var(--danger-ink); }
.ax-btn[aria-busy="true"] { cursor: progress; }
.ax-spin { width: 18px; height: 18px; animation: ax-spin .7s linear infinite; }
@keyframes ax-spin { to { transform: rotate(360deg); } }
.ax-check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: ax-draw .24s var(--ease-out) forwards; }
@keyframes ax-draw { to { stroke-dashoffset: 0; } }
.ax-link { color: var(--brand-700); font-weight: 600; font-size: 13px; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.ax-icon-btn { width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--sh-card); color: var(--ink); }

/* FIELDS */
.ax-field { display: block; }
.ax-field + .ax-field { margin-top: 16px; }
.ax-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.ax-box { display: flex; align-items: center; gap: 12px; height: 52px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 0 16px; transition: border-color .15s, box-shadow .15s; }
.ax-box:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.ax-box.is-err { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220,38,38,.10); }
.ax-box .ax-i { color: var(--ink-subtle); width: 18px; height: 18px; }
.ax-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; height: 100%; }
.ax-box input::placeholder { color: var(--ink-subtle); }
.ax-prefix { font-size: 15px; font-weight: 600; color: var(--ink-muted); padding-right: 12px; border-right: 1px solid var(--line); }
.ax-ferr { font-size: 12px; font-weight: 500; color: var(--danger-ink); margin: 6px 0 0; animation: ax-li .18s var(--ease-out); }
.ax-check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 22px; cursor: pointer; }
.ax-cb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #CFCBE0; background: #fff; flex: none; display: grid; place-items: center; margin: 0; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; }
.ax-cb:checked { background: var(--brand-600); border-color: var(--brand-600); }
.ax-cb:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.ax-cb:active { transform: scale(.9); }
.ax-cb.is-err { border-color: var(--danger); }
.ax-range { width: 100%; accent-color: var(--brand-600); height: 28px; }

/* OTP */
.ax-otp { display: flex; justify-content: space-between; gap: 8px; }
.ax-otp input { width: 100%; max-width: 52px; height: 58px; border-radius: 16px; border: 2px solid var(--line); background: #fff; text-align: center; font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 600; color: var(--ink); caret-color: var(--brand-600); outline: 0; transition: border-color .15s, box-shadow .15s; }
.ax-otp input.is-filled { border-color: var(--brand-200); }
.ax-otp input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.ax-otp.is-err input { border-color: var(--danger); }
.ax-shake { animation: ax-shake .3s; }
@keyframes ax-shake { 0%,100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }

/* PILLS AND CHIPS */
.ax-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ax-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; position: relative; }
.ax-pill .dot.ping::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: currentColor; animation: ax-ping 1.4s var(--ease-out) infinite; }
@keyframes ax-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.t-success { background: var(--success-soft); color: var(--success); }
.t-warn { background: var(--warn-soft); color: var(--warn); }
.t-danger { background: var(--danger-soft); color: var(--danger-ink); }
.t-neutral { background: #EFEDF5; color: var(--ink-muted); }
.t-brand { background: var(--brand-50); color: var(--brand-700); }
.t-gold { background: var(--gold-soft); color: var(--gold-ink); }
.ax-chip { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ax-chip.on { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.ax-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.ax-chips::-webkit-scrollbar { display: none; }
.ax-modchip { display: inline-block; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); font-size: 11px; font-weight: 600; padding: 2px 6px; }

/* SEGMENTED */
.ax-seg { position: relative; display: flex; background: #ECEAF4; border-radius: 16px; padding: 4px; }
.ax-seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(30,27,75,.12); transition: transform .3s var(--ease-std), width .3s var(--ease-std); }
.ax-seg button { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; white-space: nowrap; padding: 0 4px; height: 40px; border: 0; background: none; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: color .2s; }
.ax-seg button.on { color: var(--ink); }
.ax-seg .cnt { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ink-muted); }
.ax-seg button.on .cnt { background: var(--brand-50); color: var(--brand-700); }
.ax-slide-l { animation: ax-sl .2s var(--ease-std) both; } .ax-slide-r { animation: ax-sr .2s var(--ease-std) both; }
@keyframes ax-sl { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes ax-sr { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* BOTTOM NAV: floating r28 bar, a pill that slides (340 ms) */
.ax-nav { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(16px + var(--safe-b)); width: calc(100% - 32px); max-width: 428px; height: 70px; display: flex; align-items: center; padding: 0 8px; background: #fff; border-radius: 28px; box-shadow: var(--sh-nav); }
.ax-nav-pill { position: absolute; top: 12px; left: 0; height: 32px; width: 56px; border-radius: 999px; background: var(--brand-100); transition: transform .34s var(--ease-std); pointer-events: none; }
.ax-nav-pill.no-anim { transition: none; }
.ax-tab { flex: 1; height: 58px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink-subtle); }
.ax-tab:active { transform: scale(.94); }
.ax-tab-well { position: relative; z-index: 1; width: 56px; height: 32px; display: grid; place-items: center; }
.ax-tab-well .ax-i { width: 21px; height: 21px; transition: color .2s; }
.ax-tab-l { position: relative; z-index: 1; font-size: 11px; font-weight: 600; line-height: 1; color: var(--ink-muted); transition: color .2s; }
.ax-tab[aria-current="page"] { color: var(--brand-700); }
.ax-tab[aria-current="page"] .ax-i { stroke-width: 2.3; }
.ax-tab[aria-current="page"] .ax-tab-l { color: var(--brand-700); }

/* TOAST */
.ax-toasts { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(104px + var(--safe-b)); width: calc(100% - 32px); max-width: 428px; display: flex; justify-content: center; pointer-events: none; }
.ax-toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--sh-nav); animation: ax-toast .22s var(--ease-out) both; max-width: 100%; }
.ax-toast.out { animation: ax-toast-out .18s var(--ease-out) forwards; }
.ax-toast-b { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.ax-toast-b .ax-i { width: 14px; height: 14px; stroke-width: 3; color: #fff; }
@keyframes ax-toast { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ax-toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }

/* SHEET */
.ax-sheet-host { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.ax-sheet-host.open { pointer-events: auto; }
.ax-backdrop { position: absolute; inset: 0; background: rgba(30,27,75,.45); opacity: 0; transition: opacity .2s; }
.ax-sheet-host.open .ax-backdrop { opacity: 1; }
.ax-sheet { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 460px; max-height: 88vh; max-height: 88dvh; overflow-y: auto; transform: translate(-50%, 100%); background: #fff; border-radius: 28px 28px 0 0; padding: 8px 20px calc(32px + var(--safe-b)); box-shadow: var(--sh-sheet); transition: transform .28s var(--ease-std); }
.ax-sheet-host.open .ax-sheet { transform: translate(-50%, 0); }
.ax-sheet-handle { width: 40px; height: 4px; border-radius: 999px; background: #DAD6E8; margin: 4px auto 12px; }
.ax-sheet-close { width: 36px; height: 36px; border-radius: 999px; border: 0; background: #F1EFF7; display: grid; place-items: center; flex: none; }
.ax-sheet h2 { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0; }

/* SKELETON */
.ax-sk { border-radius: 12px; background: linear-gradient(90deg, #eeebf6 25%, #f8f7fc 50%, #eeebf6 75%); background-size: 200% 100%; animation: ax-shimmer 1.3s linear infinite; }
@keyframes ax-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.ax-boot-skel { padding: 24px 16px; }
.ax-boot-skel > * + * { margin-top: 16px; }
.ax-sk-hero { height: 200px; border-radius: 24px; }
.ax-sk-card { height: 120px; border-radius: 22px; }
.ax-sk-line { height: 14px; }
.ax-sk-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.ax-sk-row + .ax-sk-row { border-top: 1px solid var(--line); }

/* EMPTY / ERROR */
.ax-empty { text-align: center; padding: 40px 24px; }
.ax-empty-ring { width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 28px; border: 2px dashed var(--brand-200); display: grid; place-items: center; }
.ax-empty-ring > div { width: 56px; height: 56px; border-radius: 20px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.ax-empty-ring .ax-i { width: 26px; height: 26px; }
.ax-empty p { font-size: 14px; line-height: 21px; color: var(--ink-muted); max-width: 260px; margin: 6px auto 0; }

/* HERO (referral card) */
.ax-hero { border-radius: 24px; padding: 20px; color: #fff; background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 52%, #DB2777 135%); box-shadow: var(--sh-hero); position: relative; overflow: hidden; }
.ax-hero::after { content: ""; position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.ax-hero > * { position: relative; z-index: 1; }
.ax-hero-l { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.ax-hero-link { margin-top: 8px; font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-hero-t { font-size: 13px; line-height: 19px; color: rgba(255,255,255,.88); margin: 6px 0 0; }
.ax-codechip { height: 28px; padding: 0 8px 0 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); color: #fff; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.ax-codechip b { font-family: 'Sora', sans-serif; letter-spacing: .06em; }
.ax-grad-teal { background: linear-gradient(135deg, #0D9488 0%, #0284C7 120%); box-shadow: 0 18px 36px -18px rgba(2,132,199,.7); }
.ax-grad-amber { background: linear-gradient(135deg, #D97706 0%, #EA580C 110%); box-shadow: 0 18px 36px -18px rgba(234,88,12,.65); }

/* EARNINGS */
.ax-big { font-family: 'Sora', sans-serif; font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -.02em; }
.ax-mid { font-family: 'Sora', sans-serif; font-size: 20px; line-height: 26px; font-weight: 600; }
.ax-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ax-buckets { margin-top: 12px; display: grid; gap: 6px; }
.ax-buckets > div { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-muted); }
.ax-buckets b { color: var(--ink); font-weight: 600; }

/* ACHIEVEMENTS */
.ax-badges { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: 0 -2px; }
.ax-badges::-webkit-scrollbar { display: none; }
.ax-badge { flex: none; width: 92px; text-align: center; padding: 12px 8px; border-radius: 20px; background: #fff; box-shadow: var(--sh-card); }
.ax-badge-ic { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 999px; display: grid; place-items: center; }
.ax-badge.locked .ax-badge-ic { background: #EFEDF5; color: #9893B5; }
.ax-badge-t { font-size: 12px; font-weight: 600; line-height: 16px; }
.ax-badge.locked .ax-badge-t { color: var(--ink-muted); }
.ax-bar { height: 6px; border-radius: 999px; background: #ECEAF4; overflow: hidden; margin-top: 8px; }
.ax-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-500), var(--accent)); transition: width .8s var(--ease-out); }
.ax-pop { animation: ax-pop .6s var(--ease-out); }
@keyframes ax-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.ax-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* MODULE CARDS */
.ax-mod { border-radius: 22px; padding: 16px; background: #fff; display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; border: 0; }
.ax-mod-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; font-size: 20px; }
.ax-mod-n { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; line-height: 20px; }
.ax-mod-l { font-size: 12.5px; line-height: 18px; color: var(--ink-muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-mod-rate { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; }

/* FAQ */
.ax-faq button { width: 100%; border: 0; background: none; text-align: left; padding: 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ax-faq button .ax-i { transition: transform .25s var(--ease-std); color: var(--ink-subtle); }
.ax-faq [aria-expanded="true"] .ax-i { transform: rotate(90deg); }
.ax-faq .ans { overflow: hidden; height: 0; transition: height .25s var(--ease-std); }
.ax-faq .ans p { margin: 0; padding: 0 16px 16px; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.ax-faq > div + div { border-top: 1px solid var(--line); }

/* TERMS HTML (from /api/terms) */
.ax-terms h1 { font-family: 'Sora', sans-serif; font-size: 20px; line-height: 26px; margin: 0 0 8px; }
.ax-terms h2 { font-family: 'Sora', sans-serif; font-size: 15px; margin: 20px 0 6px; }
.ax-terms ul { padding-left: 20px; margin: 0; }
.ax-terms li, .ax-terms p { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ax-terms .ej-card { padding: 0; }

/* AUTH SCREENS */
.ax-band { background: linear-gradient(160deg, #6D28D9 0%, #7C3AED 60%, #9D2BBF 100%); color: #fff; border-radius: 0 0 32px 32px; padding: calc(56px + var(--safe-t)) 24px 72px; }
.ax-logo { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 32px -16px rgba(20,10,60,.55); }
.ax-logo img { width: 30px; height: 30px; }
.ax-by { font-size: 13px; letter-spacing: .01em; margin: 2px 0 0; }
.ax-by span { font-weight: 300; opacity: .8; }
.ax-by b { font-family: 'Sora', sans-serif; font-weight: 600; }
.ax-float { position: relative; margin: -40px 16px 0; padding: 20px; animation: ax-rise .28s var(--ease-out) .08s both; }
.ax-auth-pad { padding: calc(24px + var(--safe-t)) 20px 0; }
.ax-foot { margin-top: auto; padding: 24px 16px 0; text-align: center; font-size: 14px; color: var(--ink-muted); }
.ax-foot a { color: var(--brand-700); font-weight: 600; }

/* PENDING */
.ax-steps { position: relative; }
.ax-step { display: flex; gap: 12px; position: relative; padding-bottom: 18px; }
.ax-step:last-child { padding-bottom: 0; }
.ax-step::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.ax-step.done::before { background: rgba(21,128,61,.4); }
.ax-step:last-child::before { display: none; }
.ax-dot { width: 28px; height: 28px; border-radius: 999px; flex: none; display: grid; place-items: center; }
.ax-step.done .ax-dot { background: var(--success); color: #fff; }
.ax-step.cur .ax-dot { box-shadow: inset 0 0 0 2px var(--brand-600); }
.ax-step.cur .ax-dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--brand-600); animation: ax-pulse 1.4s ease-in-out infinite; }
.ax-step.next .ax-dot { box-shadow: inset 0 0 0 2px var(--line); }
@keyframes ax-pulse { 50% { transform: scale(1.5); opacity: .5; } }
.ax-illus { width: 200px; height: 150px; margin: 0 auto; position: relative; }
.ax-illus .back { position: absolute; inset: 10px 30px 20px 20px; border-radius: 22px; background: var(--brand-100); transform: rotate(-6deg); }
.ax-illus .front { position: absolute; inset: 0 26px 30px 26px; border-radius: 22px; background: #fff; box-shadow: var(--sh-card); padding: 16px; animation: ax-tilt .5s var(--ease-out) both; }
@keyframes ax-tilt { from { transform: translateY(12px) rotate(0); opacity: 0; } to { transform: rotate(3deg); opacity: 1; } }
.ax-illus .front i { display: block; height: 8px; border-radius: 999px; background: #E4E0F0; margin-top: 8px; }
.ax-illus .clock { position: absolute; right: 8px; bottom: 6px; width: 60px; height: 60px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 0 6px var(--canvas); display: grid; place-items: center; }
.ax-illus .clock span { width: 28px; height: 28px; border-radius: 999px; background: #fff; position: relative; }
.ax-illus .clock span::after { content: ""; position: absolute; left: 13px; top: 5px; width: 2px; height: 10px; background: var(--gold-ink); border-radius: 2px; transform-origin: 1px 9px; animation: ax-spin 6s linear infinite; }

/* QR + POSTER */
.ax-qrcard { width: 260px; margin: 16px auto 0; border-radius: 24px; border: 1px solid var(--line); padding: 20px; text-align: center; animation: ax-in .3s var(--ease-out) .08s both; }
.ax-qrcard svg { width: 196px; height: 196px; display: block; margin: 12px auto; }
.ax-qr-code { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: .08em; }
.ax-poster { border-radius: 24px; padding: 20px; text-align: center; color: #fff; }
.ax-poster .qr { background: #fff; border-radius: 18px; width: 180px; height: 180px; margin: 14px auto; padding: 8px; }
.ax-poster .qr svg { width: 100%; height: 100%; display: block; }
.ax-tpl { white-space: pre-wrap; font-size: 14px; line-height: 21px; margin: 0; }

/* NOTIFICATIONS */
.ax-unread { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }
.ax-bell { position: relative; }
.ax-bell .ax-unread { position: absolute; top: 8px; right: 9px; box-shadow: 0 0 0 2px #fff; }
.ax-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; border: 0; box-shadow: 0 8px 18px -10px rgba(109,40,217,.8); }

/* ═════════════════════════════════════════════════════════════════════════
   RESPONSIVE (owner 2026-10-22: "desktop biarlah desktop, mobile biarlah
   mobile"). Phone < 768: the single column above. Tablet 768-1023: a wider
   column. Desktop >= 1024: a left sidebar, wide content in columns, split
   screen sign-in, and dialogs instead of bottom sheets.
   ═════════════════════════════════════════════════════════════════════════ */

/* shared building blocks: one column on a phone, more on wider screens */
.ax-g2, .ax-g3 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.ax-g2 > *, .ax-g3 > * { margin-top: 0 !important; min-width: 0; }
.ax-col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.ax-col > * { margin-top: 0 !important; }
.ax-home-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ax-home-row > .ax-wide { grid-column: 1 / -1; }
.ax-modgrid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.ax-narrow { max-width: 780px; }

/* THE SIDE NAV (desktop only) */
.ax-side { display: none; }
.ax-side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 22px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.ax-side-brand img { border-radius: 10px; background: #fff; box-shadow: 0 6px 14px -8px rgba(109,40,217,.6); }
.ax-side-nav { display: flex; flex-direction: column; gap: 2px; }
.ax-side-a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 14px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.ax-side-a:hover { background: var(--brand-50); color: var(--brand-700); }
.ax-side-a[aria-current="page"] { background: var(--brand-600); color: #fff; box-shadow: 0 10px 22px -12px rgba(109,40,217,.8); }
.ax-side-a .ax-i { width: 19px; height: 19px; }
.ax-side-sep { height: 1px; background: var(--line); margin: 12px 8px; }
.ax-side-me { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ax-side-me .who { display: flex; align-items: center; gap: 10px; padding: 6px 4px 10px; min-width: 0; }
.ax-side-me .who > div { min-width: 0; }
.ax-side-me .who div b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-side-me .who div span { display: block; font-size: 12px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-side-me .ax-avatar { width: 38px; height: 38px; font-size: 13px; flex: none; }

/* THE SIGN-IN SCREENS: a brand panel + the form */
.ax-brand { background: linear-gradient(160deg, #6D28D9 0%, #7C3AED 55%, #A21CAF 100%); color: #fff; border-radius: 0 0 32px 32px; padding: calc(44px + var(--safe-t)) 24px 72px; position: relative; overflow: hidden; }
.ax-brand::after { content: ""; position: absolute; right: -80px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.09); }
.ax-brand > * { position: relative; z-index: 1; }
.ax-brand.is-slim { display: none; }
.ax-brand-top { display: flex; align-items: center; gap: 12px; }
.ax-brand-top .ax-logo { width: 44px; height: 44px; border-radius: 14px; }
.ax-brand-top .ax-logo img { width: 26px; height: 26px; }
.ax-brand-name { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.ax-brand-h { font-family: 'Sora', sans-serif; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; margin: 18px 0 0; max-width: 460px; }
.ax-brand-p { font-size: 14px; line-height: 21px; opacity: .92; margin: 8px 0 0; max-width: 420px; }
.ax-brand-list, .ax-brand-card { display: none; }
.ax-auth-main { flex: 1; display: flex; flex-direction: column; }
.ax-auth-form { position: relative; margin: -40px 16px 0; padding: 20px; animation: ax-rise .28s var(--ease-out) .08s both; }
.ax-auth-main.is-plain { padding: calc(20px + var(--safe-t)) 20px 0; }
.ax-auth-main.is-plain .ax-auth-form { margin: 0; padding: 0; background: none; box-shadow: none; }

/* the send / confirm success state: the button turns green with a check and the word */
.ax-btn.is-ok { background: var(--success) !important; color: #fff !important; box-shadow: 0 8px 18px -8px rgba(21,128,61,.6) !important; transition: background .25s; }
.ax-lock { pointer-events: none; }
.ax-lock input { opacity: .75; }

@media (min-width: 768px) {
    .ax-app { max-width: 720px; }
    .ax-page { padding-left: 24px; padding-right: 24px; }
    .ax-modgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ax-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ax-auth-main { width: 100%; max-width: 520px; margin: 0 auto; }
    .ax-nav { max-width: 560px; }
}

@media (min-width: 1024px) {
    body { background: var(--canvas); }
    .ax-app { max-width: none; box-shadow: none; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
    body.ax-guest .ax-app { display: block; }
    .ax-side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 22px 14px 18px; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
    body.ax-guest .ax-side { display: none; }
    .ax-nav { display: none !important; }
    .ax-page { padding: 36px 40px 56px; max-width: 1180px; margin: 0 auto; }
    .ax-h1 { font-size: 28px; line-height: 34px; }
    .ax-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .ax-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .ax-g2.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .ax-home-row { grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; }
    .ax-home-row > .ax-wide { grid-column: auto; }
    .ax-modgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .ax-toasts { left: auto; right: 32px; bottom: 32px; transform: none; width: auto; max-width: 420px; }
    .ax-hero-link { font-size: 22px; }
    .ax-big { font-size: 36px; line-height: 44px; }

    /* sheets become centred dialogs */
    .ax-sheet { top: 50%; bottom: auto; max-width: 560px; max-height: 86vh; border-radius: 24px; padding: 24px 28px 28px; opacity: 0; transform: translate(-50%, -46%) scale(.97); transition: transform .22s var(--ease-std), opacity .2s; }
    .ax-sheet-host.open .ax-sheet { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    .ax-sheet-handle { display: none; }

    /* split-screen sign-in: brand panel left, form right */
    .ax-page.is-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; max-width: none; min-height: 100vh; }
    .ax-brand, .ax-brand.is-slim { display: flex; flex-direction: column; justify-content: center; border-radius: 0; padding: 64px 6vw; min-height: 100vh; position: sticky; top: 0; height: 100vh; }
    .ax-brand-h { font-size: 34px; line-height: 42px; margin-top: 28px; }
    .ax-brand-p { font-size: 16px; line-height: 25px; }
    .ax-brand-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 28px 0 0; }
    .ax-brand-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 500; }
    .ax-brand-list li span { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
    .ax-brand-card { display: grid; gap: 14px; margin-top: 32px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); max-width: 440px; }
    .ax-brand-rate { display: flex; gap: 18px; align-items: center; }
    .ax-brand-facts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
    .ax-brand-card .ax-brand-facts span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; opacity: 1; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
    .ax-brand-facts .ax-i { width: 15px; height: 15px; color: #FCD34D; }
    .ax-brand-card b { font-family: 'Sora', sans-serif; font-size: 34px; color: #FCD34D; }
    .ax-brand-card span { font-size: 14px; line-height: 20px; opacity: .92; }
    .ax-auth-main, .ax-auth-main.is-plain { max-width: none; margin: 0; justify-content: center; align-items: center; padding: 48px 40px; min-height: 100vh; }
    .ax-auth-main > * { width: 100%; max-width: 440px; }
    .ax-auth-form, .ax-auth-main.is-plain .ax-auth-form { margin: 0; padding: 32px; background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(30,27,75,.04), 0 24px 48px -24px rgba(30,27,75,.25); }
    .ax-auth-main .ax-foot { margin-top: 0; padding-top: 22px; }
    .ax-auth-pad { padding: 0; }
    .ax-page.ax-narrow { max-width: 820px; }
}

@media (min-width: 1400px) {
    .ax-modgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* THE BUSY RULE (owner 2026-10-22): a pressed button keeps its own colour but
   fades from strong to pale, loses its lift, and cannot be pressed again. The
   spinner sits where the icon was, at the same width (v2.js btnPhase). */
.ax-btn { transition: background-color .2s var(--ease-std), box-shadow .2s var(--ease-std), opacity .2s var(--ease-std), filter .2s var(--ease-std); }
.ax-btn.is-busy, .ax-btn.is-busy:hover { opacity: .62; filter: saturate(.7); box-shadow: none; cursor: progress; }
.ax-btn.is-busy { animation: none; }   /* an entrance animation (.ax-rise > *, fill both) would pin opacity at 1 */
.ax-btn:disabled { cursor: default; }
.ax-btn.is-busy:disabled { cursor: progress; }
.ax-btn > .ax-i.ax-off { display: none; }
.ax-btn > .ax-btn-ic.is-swap { transition: none; }
.ax-btn-sm > .ax-btn-ic.on { width: 16px; margin-right: 6px; }
.ax-btn-sm > .ax-btn-ic .ax-spin, .ax-btn-sm > .ax-btn-ic .ax-check { width: 16px; height: 16px; }

/* the error popup: slides up from the bottom edge, a reason, a close button */
.ax-toasts { pointer-events: none; }
.ax-errpop { pointer-events: auto; align-items: flex-start; background: #fff; color: var(--ink); padding: 14px 10px 14px 14px; box-shadow: 0 18px 40px -12px rgba(30,27,75,.35), inset 0 0 0 1px rgba(220,38,38,.18); animation: ax-errpop-in .34s var(--ease-out) both; width: 100%; }
.ax-errpop.out { animation: ax-errpop-out .24s var(--ease-std) forwards; }
.ax-errpop .ax-toast-b { margin-top: 1px; }
.ax-errpop-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ax-errpop-t b { font-size: 14px; font-weight: 600; color: var(--danger-ink); }
.ax-errpop-t span { font-size: 13px; line-height: 19px; color: var(--ink-muted); font-weight: 400; }
.ax-errpop-x { flex: none; width: 32px; height: 32px; margin: -6px 0 0; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink-muted); cursor: pointer; }
.ax-errpop-x:hover { background: var(--danger-soft); }
.ax-errpop-x .ax-i { width: 16px; height: 16px; }
body.ax-guest .ax-toasts { bottom: calc(20px + var(--safe-b)); }
@keyframes ax-errpop-in { from { opacity: 0; transform: translateY(calc(100% + 40px)); } to { opacity: 1; transform: none; } }
@keyframes ax-errpop-out { to { opacity: 0; transform: translateY(calc(100% + 40px)); } }
@media (prefers-reduced-motion: reduce) { .ax-errpop, .ax-errpop.out { animation-duration: .01s; } }
@media (min-width: 1024px) { body.ax-guest .ax-toasts { bottom: 32px; } }
.ax-icon-btn.is-busy { opacity: .62; cursor: progress; }
.ax-icon-btn.is-busy .ax-i { animation: ax-spin .8s linear infinite; }
.ax-link.is-busy { opacity: .62; cursor: progress; }
.ax-link > .ax-btn-ic { display: none; }
.ax-link > .ax-btn-ic.on { display: inline-flex; vertical-align: -4px; margin-right: 6px; }
.ax-link > .ax-btn-ic .ax-spin { width: 16px; height: 16px; }

/* PROFILE PHOTO (owner 2026-10-22): the photo fills the circle; the Akaun one
   is a button with a camera badge; the crop sheet is a square you drag + zoom. */
.ax-avatar { overflow: hidden; flex: none; }
.ax-avatar.has-img { background: var(--brand-100); }
.ax-avatar > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ax-avatar.is-lg { width: 64px; height: 64px; font-size: 20px; }
.ax-avatar-edit.ax-press { position: relative; flex: none; padding: 0; border: 0; background: none; border-radius: 999px; cursor: pointer; overflow: visible; }   /* the camera badge sits over the edge */
.ax-avatar-cam { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; border-radius: 999px; background: var(--brand-600); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 4px 10px -4px rgba(30,27,75,.4); }
.ax-avatar-cam .ax-i { width: 15px; height: 15px; stroke-width: 2.2; }
.ax-crop { position: relative; margin: 4px auto 0; overflow: hidden; border-radius: 999px; background: var(--brand-50); cursor: grab; touch-action: none; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.ax-crop:active { cursor: grabbing; }
.ax-crop img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.ax-crop-zoom { display: flex; align-items: center; gap: 12px; margin: 18px auto 0; max-width: 300px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.ax-crop-zoom input { flex: 1; accent-color: var(--brand-600); }

/* the wave next to "Hai, <name>": once, from the wrist */
.ax-wave { display: inline-block; transform-origin: 70% 75%; }
.ax-wave.is-on { animation: ax-wave 1.5s ease-in-out .35s 1 both; }
@keyframes ax-wave { 0% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-8deg); } 45% { transform: rotate(14deg); } 60% { transform: rotate(-4deg); } 75% { transform: rotate(10deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .ax-wave.is-on { animation: none; } }

/* "Kedai anda" (own shops): calm, a fact about the account */
.ax-own-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ax-own-l li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--canvas); }

/* A module's real icon (owner 2026-10-22): its own colour + white glyph, or the uploaded logo over it. */
.ax-mod-ic.is-real { position: relative; overflow: hidden; color: #fff; box-shadow: 0 10px 20px -12px rgba(30,27,75,.45); }
.ax-mod-ic.is-real > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }

/* Page icon beside the title (owner 2026-10-22): the nav glyph in the page's own tint, entering with the title. */
.ax-head-t { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ax-head-ic { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 10px 22px -12px var(--hs); animation: ax-head-in .34s var(--ease-out) both; }
.ax-head-ic .ax-i { width: 22px; height: 22px; }
@keyframes ax-head-in { from { opacity: 0; transform: scale(.82) translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ax-head-ic { animation: none; } }
@media (min-width: 1024px) { .ax-head-ic { width: 48px; height: 48px; border-radius: 16px; } .ax-head-ic .ax-i { width: 24px; height: 24px; } }
