/* ===== Design tokens ===== */
:root{
  --bg:#161a20;          /* page + header */
  --surface:#1e2128;     /* category bar, footer */
  --card:#22262e;        /* tiles */
  --card-2:#282d34;      /* secondary buttons */
  --nav:#353a41;         /* bottom nav */
  --login-1:#3d97da;--login-2:#2263a2;
  --reg-1:#4bd83f;--reg-2:#17991a;
  --line:#2c323b;
  --text:#ffffff;
  --muted:#9aa3ae;
  --primary:#1a9fd7;
  --primary-2:#0088d1;
  --hot:#e3123a;
  --radius:10px;
  --gutter:12px;
  --header-h:58px;
  --nav-h:65px;
  --safe-b:env(safe-area-inset-bottom,0px);
  /* Bar is 65px; on phones with a home bar (iPhone) it is 54px of icons + the safe area, never less than 65px */
  --nav-total:max(var(--nav-h),calc(54px + var(--safe-b)));
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#07090b;color:var(--text);font-family:Montserrat,Roboto,"Helvetica Neue",Arial,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}

/* Whole app is one fluid column; caps at 480px on tablets/desktop */
.app{position:relative;width:100%;max-width:480px;margin:0 auto;min-height:100vh;background:var(--bg);
  padding-bottom:var(--nav-total);overflow:hidden}

/* ===== Header ===== */
.header{position:sticky;top:0;z-index:50;height:calc(var(--header-h) + 2px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  padding:0 16px 0 19px;background:var(--bg);border-bottom:2px solid #1e2128}
.menu-btn{justify-self:start;display:block}
.menu-btn{display:grid;place-items:center;width:22px;height:22px;color:#00aeef}
.menu-btn svg{display:block}
.logo{justify-self:center;display:flex;align-items:center}
.logo img{display:block;width:75px;height:auto}
.logo-text{font-weight:800;font-style:italic;font-size:26px;letter-spacing:.5px;color:var(--primary)}
.logo-text b{color:#fff}
.lang-btn{justify-self:end;width:26px;height:26px;background:url(../../assets/img/fe1747f55139.webp) center/contain no-repeat}

.page-title{justify-self:center;margin:0;font-size:15px;font-weight:700;line-height:36px;color:#00aeef;text-transform:uppercase;white-space:nowrap}
/* ===== Account Recovery (copied from the live page) ===== */
/* Compact Account Recovery — match video scale */
.ar-wrap{
  width:100%;
  max-width:420px;
  margin:10px auto 40px;
  padding:0 12px 120px;
  color:#fff;
  font-family:inherit;
  font-size:13px;
  background:transparent;
}
.ar-wrap *{box-sizing:border-box;}
.ar-title{
  font-size:1.15rem;
  font-weight:700;
  margin:2px 0 6px;
  color:#fff;
  line-height:1.25;
}
.ar-step-label{
  color:#8b93a0;
  font-size:.75rem;
  margin-bottom:8px;
}
.ar-progress{
  display:flex;
  gap:4px;
  margin-bottom:22px;
}
.ar-progress span{
  flex:1;
  height:3px;
  border-radius:999px;
  background:#2a303a;
}
.ar-progress span.on{background:#00aeef;}

.ar-mode{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-bottom:20px;
}
.ar-mode button{
  border:0;
  border-radius:8px;
  padding:12px 6px;
  min-height:44px;
  font-weight:700;
  font-size:.8rem;
  cursor:pointer;
  background:#1a1f27;
  color:#8b93a0;
  transition:background .2s,color .2s;
}
.ar-mode button.active{
  background:#2c313a;
  color:#fff;
}

.ar-hint{
  color:#8b93a0;
  font-size:.75rem;
  margin:0 0 14px;
  line-height:1.35;
}

.ar-channels{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:18px;
}
.ar-channels button{
  border:0;
  border-radius:8px;
  padding:12px 6px;
  min-height:44px;
  background:#1a1f27;
  color:#6b7280;
  cursor:pointer;
  font-size:.72rem;
  font-weight:600;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:6px;
  transition:background .2s,color .2s;
  white-space:nowrap;
}
.ar-channels button.active{
  background:#2c313a;
  color:#fff;
}
.ar-channels button svg{width:16px;height:16px;}
.ar-channels button.active svg{color:#00aeef;stroke:#00aeef;fill:#00aeef;}
.ar-channels button[data-channel="sms"] svg,
.ar-channels button[data-channel="email"] svg{fill:none;}
.ar-channels button.active[data-channel="sms"] svg,
.ar-channels button.active[data-channel="email"] svg{fill:none;stroke:#00aeef;}
.ar-channels button.active[data-channel="whatsapp"] svg{fill:#00aeef;stroke:none;}

.ar-field{
  display:flex;
  align-items:center;
  background:#1a1f27;
  border:1px solid #3a414d;
  border-radius:8px;
  margin-bottom:16px;
  min-height:44px;
  position:relative;
  transition:border-color .2s;
  overflow:visible;
}
.ar-field.focus{border-color:#00aeef;}
.ar-field .cc-wrap{position:relative;align-self:stretch;z-index:40;overflow:visible;}
.ar-field .cc{
  display:flex;
  align-items:center;
  gap:4px;
  padding:0 10px;
  color:#fff;
  white-space:nowrap;
  background:transparent;
  height:100%;
  cursor:pointer;
  user-select:none;
  min-height:44px;
  font-size:.8rem;
  font-weight:400;
  border-right:1px solid #3a414d;
}
.ar-field .cc > img{display:none;}
.ar-field .cc .arrow{width:11px;height:11px;color:#8b93a0;pointer-events:none;margin-left:2px;}
.ar-field .cc #ar-cc-text{color:#fff;font-weight:400;}
.ar-cc-iso{color:#fff;font-weight:400;margin-right:2px;}
.ar-cc-menu{
  display:none;
  position:absolute;
  top:calc(100% + 4px);
  left:0;
  z-index:100;
  min-width:200px;
  background:#1a1f27;
  border:1px solid #3a414d;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(0,0,0,.5);
  overflow:hidden;
}
.ar-cc-menu.open{display:block;}
.ar-cc-menu a{
  display:flex;
  align-items:center;
  gap:6px;
  padding:10px 12px;
  color:#e8eaed;
  text-decoration:none;
  font-size:.78rem;
  cursor:pointer;
}
.ar-cc-menu a:hover{background:#2c313a;}
.ar-cc-menu a img{width:16px;height:auto;border-radius:2px;}
.ar-field input{
  flex:1;
  border:0;
  outline:none;
  background:transparent;
  color:#fff;
  padding:.75rem .85rem;
  font-size:16px;
  width:100%;
  min-height:44px;
  -webkit-appearance:none;
}
.ar-field input::placeholder{color:#6b7280;}
.ar-field .icon-left{
  display:flex;
  align-items:center;
  padding-left:.7rem;
  color:#8b93a0;
  flex-shrink:0;
}
.ar-field .icon-left svg{width:14px;height:14px;}
.ar-field .icon-right{
  display:flex;
  align-items:center;
  padding-right:.7rem;
  color:#8b93a0;
  background:transparent;
  border:0;
  cursor:pointer;
  flex-shrink:0;
}
.ar-field .icon-right svg{width:15px;height:15px;}
.ar-field .icon-right:hover{color:#e8eaed;}
.ar-otp-input{letter-spacing:.35em;font-size:1rem !important;font-weight:600;}

.ar-btn{
  width:100%;
  border:0;
  border-radius:8px;
  padding:13px;
  min-height:46px;
  font-size:.9rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  cursor:pointer;
  background:#00aeef;
  color:#fff;
  margin-top:4px;
  margin-bottom:100px;
}
.ar-btn.primary{background:#00aeef;color:#fff;}
.ar-btn:disabled{opacity:.5;cursor:not-allowed;}
.ar-resend{text-align:center;margin-top:14px;color:#8b93a0;font-size:.75rem;}
.ar-resend a{color:#00aeef;text-decoration:none;font-weight:600;}

.ar-panel{display:none;}
.ar-panel.active{display:block;}
.ar-account-list{display:flex;flex-direction:column;gap:10px;margin:12px 0 0;}
.ar-account{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:10px;
  background:#14181f;
  border:1px solid #2c3440;
  cursor:pointer;
  text-align:left;
  width:100%;
  color:#fff;
}
.ar-account.selected,.ar-account:active{border-color:#00aeef;}
.ar-account .avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#1a1f27;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.ar-account .avatar svg{width:16px;height:16px;}
.ar-account .meta{flex:1;min-width:0;}
.ar-account .name{font-weight:700;font-size:.85rem;display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.ar-account .sub{color:#8b93a0;font-size:.72rem;margin-top:2px;}
.ar-badge{
  display:inline-block;
  background:#00aeef;
  color:#0a0d12;
  font-size:.58rem;
  font-weight:800;
  padding:1px 5px;
  border-radius:3px;
  letter-spacing:.02em;
}
.ar-account .chev{color:#6b7280;font-size:1rem;}
.ar-find-card{
  background:#14181f;
  border:1px solid #2c3440;
  border-radius:10px;
  padding:10px;
  margin-bottom:8px;
}
.ar-find-card .top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px;}
.ar-find-card .name{font-weight:700;font-size:.85rem;display:flex;align-items:center;gap:6px;}
.ar-find-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
.ar-find-actions button{
  border:0;
  border-radius:8px;
  padding:.55rem .4rem;
  font-weight:700;
  font-size:.75rem;
  cursor:pointer;
}
.ar-find-actions .login{background:#00aeef;color:#0a0d12;}
.ar-find-actions .reset{background:#1a1f27;color:#fff;border:1px solid #2c3440;}
.ar-copy{background:transparent;border:0;color:#8b93a0;cursor:pointer;padding:2px;font-size:.85rem;}
.ar-copy:hover{color:#00aeef;}
.ar-subnote{color:#8b93a0;font-size:.75rem;margin:.35rem 0 14px;line-height:1.35;}
.ar-subnote b{color:#00aeef;font-weight:700;}
.ar-msg{display:none;margin-bottom:14px;padding:.55rem .7rem;border-radius:8px;font-size:.75rem;}
.ar-msg.err{display:block;background:rgba(239,68,68,.15);color:#fca5a5;border:1px solid rgba(239,68,68,.35);}
.ar-msg.ok{display:block;background:rgba(34,197,94,.15);color:#86efac;border:1px solid rgba(34,197,94,.35);}
.ar-heading{font-size:.95rem;font-weight:700;margin:0 0 6px;color:#fff;}
.ar-heading{text-transform:capitalize}
.hdr-btn{display:grid;place-items:center;width:22px;height:22px;color:#00aeef}
.ar-toast{position:fixed;left:50%;bottom:calc(var(--nav-total) + 16px);z-index:70;transform:translateX(-50%);padding:8px 14px;border-radius:6px;background:#2a2f38;font-size:12px;white-space:nowrap}
.ar-toast[hidden]{display:none}

/* new design: same eye + button as the new Login page */
.ar-field .icon-right{color:#b2b2bd}
.ar-field .icon-right svg{width:18px;height:16px}
.ar-toggle-pass .ic-show{display:none}
.ar-toggle-pass[aria-pressed="true"] .ic-show{display:block}
.ar-toggle-pass[aria-pressed="true"] .ic-hide{display:none}
.ar-btn,.ar-btn.primary{height:44px;min-height:44px;padding:0 13px;border-radius:4px;background:linear-gradient(90deg,#55d6f9,#1e74e6);font-size:14px;font-weight:700;letter-spacing:.2px}
.ar-btn:active{filter:brightness(.92)}
/* new design: fields = new Login field (44px, #13161b, #262c38 border, filled #b2b2bd icons) */
.ar-field{height:44px;min-height:44px;margin-bottom:12px;padding:0 13px 0 16px;background:#13161b;border:1px solid #262c38;border-radius:8px}
.ar-field.focus{border-color:#00aeef}
.ar-field .icon-left{padding:0;margin-right:15px;color:#b2b2bd}
.ar-field .icon-left svg{width:14px;height:16px;fill:currentColor}
.ar-field input{min-height:0;height:100%;padding:0;font-family:inherit;font-size:16px}
.ar-field input::placeholder{color:#828293;opacity:1}
.ar-field .icon-right{padding:0;margin-right:-6px;width:30px;height:30px;justify-content:center}
.ar-otp-input{font-size:16px!important;letter-spacing:.35em}
/* phone = two boxes like the new Register: country code 81px + number */
#ar-phone-field{padding:0;background:none;border:0;gap:10px}
#ar-phone-field .cc-wrap{flex:0 0 81px}
#ar-phone-field .cc{justify-content:center;height:44px;min-height:44px;padding:0 8px;background:#13161b;border:1px solid #262c38;border-radius:8px;font-size:14px}
#ar-phone-field .cc .arrow{color:#b2b2bd}
#ar-phone-field input{padding:0 16px;background:#13161b;border:1px solid #262c38;border-radius:8px}
#ar-phone-field input:focus{border-color:#00aeef}
.ar-cc-menu{background:#13161b;border-color:#262c38}
/* new design: same side/top spacing as the new Login page */
.ar-wrap{margin:0 auto 40px;padding:22px 16px 120px}
/* new design: step label is the page heading */
.ar-step-label,.ar-step-label span{margin:0 0 10px;font-size:16px;font-weight:700;line-height:20px;color:#fff}
/* new design: Reset Password / Find My Username = same tabs as Login / Register */
.ar-mode{gap:0;height:44px;margin-bottom:22px;background:#20262f;border-radius:4px 4px 0 0}
.ar-mode button{position:relative;min-height:0;height:44px;padding:0;border-radius:0;background:none;font-family:inherit;font-size:11px;font-weight:400;color:#7c7d8f}
.ar-mode button.active{background:none;font-weight:600;color:#fff}
.ar-mode button.active::after{content:"";position:absolute;left:50%;bottom:0;width:80px;height:2px;margin-left:-40px;background:#00aeef}
/* new design: Resend OTP sits right under the Verify button (like "Register Here" under Login) */
#ar-verify-otp{margin-bottom:0}
.ar-resend{margin-top:14px;font-size:12.5px;color:#828293}
/* new design: Max's copy icon (24px, #b2b2bd) */
.ar-copy{display:grid;place-items:center;width:30px;height:30px;padding:0;color:#b2b2bd}
.ar-copy svg{display:block;width:24px;height:24px}
/* new design: success message = same as Login success (Max's success.svg) */
.ar-msg.ok{padding:10px 12px 10px 42px;border-radius:8px;background:rgba(33,230,152,.08) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%2321E698%22%3E%3Cpath%20d%3D%22M12%202C14.6522%202%2017.1957%203.05357%2019.0711%204.92893C20.9464%206.8043%2022%209.34784%2022%2012C22%2014.6522%2020.9464%2017.1957%2019.0711%2019.0711C17.1957%2020.9464%2014.6522%2022%2012%2022C9.34784%2022%206.8043%2020.9464%204.92893%2019.0711C3.05357%2017.1957%202%2014.6522%202%2012C2%209.34784%203.05357%206.8043%204.92893%204.92893C6.8043%203.05357%209.34784%202%2012%202ZM10.7545%2013.9732L8.53348%2011.75C8.37275%2011.589%208.15464%2011.4984%207.92713%2011.4982C7.69962%2011.498%207.48134%2011.5882%207.32031%2011.7489C7.15929%2011.9096%207.06871%2012.1277%207.0685%2012.3552C7.06829%2012.5828%207.15847%2012.801%207.3192%2012.9621L10.1496%2015.7946C10.229%2015.8745%2010.3234%2015.9378%2010.4274%2015.9811C10.5314%2016.0243%2010.643%2016.0466%2010.7556%2016.0466C10.8682%2016.0466%2010.9797%2016.0243%2011.0837%2015.9811C11.1877%2015.9378%2011.2822%2015.8745%2011.3616%2015.7946L17.2188%209.93527C17.3003%209.85611%2017.3652%209.76154%2017.4098%209.65706C17.4545%209.55257%2017.4779%209.44026%2017.4787%209.32665C17.4795%209.21303%2017.4578%209.10039%2017.4147%208.99526C17.3716%208.89014%2017.308%208.79463%2017.2277%208.71429C17.1473%208.63395%2017.0518%208.57039%2016.9467%208.52729C16.8416%208.4842%2016.7289%208.46243%2016.6153%208.46326C16.5017%208.46409%2016.3894%208.4875%2016.2849%208.53213C16.1804%208.57676%2016.0859%208.64171%2016.0067%208.72321L10.7545%2013.9732Z%22/%3E%3C/svg%3E") 12px center/20px 20px no-repeat;border:1px solid rgba(33,230,152,.3);font-size:12px;line-height:16px;color:#21e698}
/* new design: one button system. Primary = Login gradient, secondary = dark (#20262f like the Login tab bar) */
.ar-find-actions{gap:10px}
.ar-find-actions button{height:36px;padding:0 6px;border:0;border-radius:4px;font-family:inherit;font-size:12px;font-weight:700;letter-spacing:.2px;text-transform:uppercase;color:#fff}
.ar-find-actions .login{background:linear-gradient(90deg,#55d6f9,#1e74e6);color:#fff}
.ar-find-actions .reset{background:#20262f;border:0;color:#fff}
.ar-find-actions button:active{filter:brightness(.92)}
/* new design: account cards use the same box as the input fields */
.ar-find-card,.ar-account{background:#13161b;border:1px solid #262c38;border-radius:8px}
.ar-find-card{padding:12px;margin-bottom:12px}
/* new design (Max mock 2026-11-06): Step 3 account cards */
.ar-find-card,.ar-account{background:#20262f;border:0;border-radius:8px}
.ar-find-card{padding:12px;margin-bottom:10px}
.ar-account{padding:12px;gap:10px}
.ar-account-list{gap:10px}
.ar-av{flex:0 0 30px;width:30px;height:30px;display:block}
.ar-account .avatar{width:30px;height:30px;background:none;border:0}
.ar-account .avatar .ar-av{width:30px;height:30px}
.ar-find-card .top{margin-bottom:12px}
.ar-find-card .name,.ar-account .name{gap:8px;font-size:14px;font-weight:600}
.ar-badge{padding:0 9px;border:1px solid rgba(0,174,239,.6);border-radius:999px;background:rgba(0,174,239,.12);font-size:11px;font-weight:500;line-height:18px;letter-spacing:0;text-transform:none;color:#00aeef}
/* buttons in the card: size from Max's mock; colours = button rule [16] (secondary #161a20 because the card itself is #20262f) */
.ar-find-actions{gap:8px}
.ar-find-actions button{height:34px;font-size:12px;font-weight:500}
.ar-find-actions .login{background:linear-gradient(90deg,#55d6f9,#1e74e6)}
.ar-find-actions .reset{background:#161a20}/* ===== Bottom nav (fixed, respects iPhone home bar + Android gesture bar) ===== */
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;width:100%;max-width:480px;margin:0 auto;
  display:grid;grid-template-columns:repeat(5,1fr);height:var(--nav-total);padding-bottom:var(--safe-b);
  background:#353a41}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:10px;line-height:12px;color:#fff;min-width:0}
.bottom-nav svg{display:block;width:21.33px;height:21.33px;color:#fff}
.bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Active tab: only the icon turns blue, the label stays white */
.bottom-nav a.is-active svg{color:#00aeef}
/* Rule [20]: selected icon = blue gradient #71D0EE -> #00AEEF (left to right) */
.bottom-nav a.is-active svg path{fill:url(#activeGrad)}

/* ===== Side menu (copied from the live site's #main-nav) ===== */
.side-menu{position:fixed;inset:0;z-index:1000;width:100%;max-width:480px;margin:0 auto;background:rgba(0,0,0,.5);overflow-y:auto}
.side-menu[hidden]{display:none}
.side-panel{width:70%;min-height:100%;background:#2e3033}
.side-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:10px;background:#1a6585}
.side-logo{display:block;width:152px;height:auto;padding-left:11.2px}
.side-close{display:block;width:24px;height:24px}
.side-close img{display:block;width:24px;height:24px}
.side-list{margin:0;padding:0;list-style:none}
.side-link{display:flex;padding:12px 16px 12px 15px;border-bottom:1px solid #373a3f;font-size:13px;font-weight:500;line-height:19.5px;color:#fff}
.side-link span{display:block;padding-left:15px;text-transform:uppercase}
.side-ic{flex:0 0 auto;display:block;width:27.2px;height:24px;background:center/100% 100% no-repeat}
.side-ic.is-flag{height:27.2px}
.side-win{display:inline-block;width:12.8px;height:11.2px;margin-left:4.8px;background:url(../../assets/img/42034f5c73cd.gif) center/100% 100% no-repeat}
body.menu-open{overflow:hidden}
/* Logged-in side menu: username + level replace the logo, LOGOUT is the last item */
.side-top{height:60px}
.side-user{margin-left:14.4px}
.side-user-name{font-size:16px;font-weight:700;line-height:16px;text-transform:uppercase}
.side-user-level{font-size:8px;line-height:24px;text-transform:uppercase}
.side-list li:last-child .side-link{border-bottom:0}

/* ===== Grey inactive icons (Max 2026-11-13) ===== */
.cat:not(.is-active){color:#b2b2bd}
.cat:not(.is-active) svg.ic,.cat:not(.is-active) svg.ic *{color:#b2b2bd!important;fill:#b2b2bd!important}
.cat:not(.is-active) i.ic{filter:brightness(.7)}
.bottom-nav a:not(.is-active),.bottom-nav a:not(.is-active) svg{color:#b2b2bd}

/* ===== Bottom nav dark (Max 2026-11-13) ===== */
.bottom-nav{background:#161a20!important;background-image:none!important;border-top:1px solid #1e232b}
