@media(max-width:820px){
 .login-overlay{padding:calc(env(safe-area-inset-top) + 18px) 16px calc(env(safe-area-inset-bottom) + 16px)!important;align-items:flex-start!important}
 .login-shell{gap:14px!important;margin:auto 0!important} /* centred when the screen is tall, from the top when it is not */
 .login-left{padding:6px 4px 0!important}
 .login-logo-white{width:128px!important}
 .login-kicker{font-size:9.5px!important;font-weight:500;letter-spacing:2.6px!important;margin-top:10px!important}
 .login-hero{margin-top:10px!important}
 .login-hero h2{font-size:18px!important;line-height:1.25!important;margin:0!important;letter-spacing:.4px!important}
 .login-right{padding:22px 18px 16px!important;border-radius:22px!important;max-width:420px}
 .login-language{top:14px!important;left:14px!important;padding:6px 10px!important;font-size:12px!important;font-weight:500;border-radius:10px!important}
 .login-welcome{font-size:22px!important;margin:4px 0 2px!important}
 .login-subtitle{font-size:13px!important;margin-bottom:14px!important}
 .login-field{margin:8px 0!important}
 .login-field input{padding:12px 42px 12px 12px!important;min-height:46px;border-radius:13px!important}
 .login-field .ico{top:12px!important}
 .login-row{margin:6px 0 12px!important;font-size:12.5px!important;font-weight:500}
 .login-main-btn{padding:13px!important;min-height:48px;border-radius:13px!important;font-size:15px!important}
 .login-support{margin-top:14px!important;padding-top:10px!important;font-size:11px!important;font-weight:500;line-height:1.6!important}
 .login-copy{margin-top:8px!important;font-size:11px!important;font-weight:500}
}
/* a short screen (an older iPhone, or a phone on its side): the slogan goes, the card keeps everything */
@media(max-width:820px) and (max-height:700px),(max-height:500px) and (max-width:1000px){
 .login-hero,.login-kicker{display:none!important}
 .login-logo-white{width:112px!important}
 .login-support{display:none!important}
}
/* Sign-in fields follow the reading direction (owner, 2026-10-11: in English the eye sat on «Password»): the field's
   icon at the start, the show-password eye at the end, and the typed text clear of both. */
.login-field .ico{right:auto!important;left:auto!important;inset-inline-start:15px!important}
.login-eye{right:auto!important;left:auto!important;inset-inline-end:10px!important}
.login-field input{padding-inline-start:46px!important;padding-inline-end:14px!important}
.login-field:has(.login-eye) input{padding-inline-end:48px!important}
@media(max-width:760px),(max-height:500px) and (max-width:1000px){
 .login-field input{padding-inline-start:42px!important;padding-inline-end:12px!important}
 .login-field:has(.login-eye) input{padding-inline-end:46px!important}
}
/* Tidy-up (owner, 2026-10-11): «Welcome» and its line centred in both languages, the language switch out of the card in
   the top-left corner of the screen, and on the phone a bigger BEC Arabia logo with the kicker and slogan on one scale. */
.login-welcome,.login-subtitle{text-align:center!important}
.login-language{position:absolute!important;top:calc(env(safe-area-inset-top) + 18px)!important;left:18px!important;right:auto!important;z-index:5;
 display:inline-flex!important;align-items:center;gap:6px;border-radius:999px!important;padding:7px 14px!important;font-size:13px!important;
 -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:background .2s ease}
.login-language:hover{background:rgba(255,255,255,.14)!important}
.login-language .aic{width:16px;height:16px}
@media(max-width:820px){
 .login-overlay{padding-top:calc(env(safe-area-inset-top) + 64px)!important} /* room for the language switch above the logo */
 .login-language{top:calc(env(safe-area-inset-top) + 14px)!important;left:14px!important;padding:6px 12px!important;font-size:12.5px!important;font-weight:500}
 .login-logo-white{width:170px!important}
 .login-kicker{font-size:11px!important;font-weight:500;letter-spacing:3.2px!important;margin-top:14px!important}
 .login-hero{margin-top:8px!important}
 .login-hero h2{font-size:21px!important;line-height:1.22!important;letter-spacing:.6px!important}
}
@media(max-width:820px) and (max-height:700px),(max-height:500px) and (max-width:1000px){.login-logo-white{width:150px!important}}
/* Saved accounts + Face ID / fingerprint (owner, 2026-10-11): tiles with pearl initials, a scanning face box, a light
   sweeping across the sign-in button, «Secure connection», and the «sign in faster next time» card. */
.login-right [hidden]{display:none!important}
.login-greet{font-size:13px;font-weight:700;color:#aeb6d6;text-align:center;margin-top:2px}
.login-welcome{font-size:32px!important;font-weight:800!important;letter-spacing:-.3px;margin:2px 0 14px!important}
.login-accounts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(80px,1fr);gap:8px;margin:0 -2px 10px;padding:2px 2px 4px;overflow-x:auto;scrollbar-width:none} /* one row; swiped sideways when many */
.login-accounts::-webkit-scrollbar{display:none}
.login-overlay{overflow-y:auto!important;overflow-x:hidden!important} /* never cut the card off on a short screen */
.login-tile{display:flex!important;flex-direction:column;align-items:center;gap:5px;padding:12px 4px 10px!important;border-radius:18px!important;cursor:pointer;min-width:0;
 border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.05)!important;color:#fff!important;font:inherit;box-shadow:none;transition:background .2s,border-color .2s,box-shadow .2s}
.login-tile:hover{background:rgba(255,255,255,.1)!important}
.login-tile b{font-size:12.5px;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.login-tile.add b{white-space:normal;line-height:1.2;font-size:11.5px;font-weight:500;text-align:center}.login-tile.add small{display:none}
.login-tile small{font-size:11px;font-weight:500;color:#aeb6d6;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.login-tile.on{background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.06))!important;border-color:rgba(201,207,224,.6)!important;box-shadow:0 0 0 3px rgba(201,207,224,.12)}
.login-av{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#232b6f;font-weight:900;font-size:14px;
 background:radial-gradient(circle at 32% 26%,#fff 0%,#e4e8f3 38%,#b9c1da 72%,#98a3c6 100%);box-shadow:0 0 0 2px rgba(255,255,255,.2),0 0 14px rgba(108,134,255,.5)}
.login-tile.add .login-av{background:rgba(255,255,255,.08);color:#C9CFE0;box-shadow:none;border:1px dashed rgba(201,207,224,.5);font-size:20px;font-weight:600}
.login-av-bio{position:absolute;inset-inline-end:-3px;bottom:-3px;width:15px;height:15px;border-radius:50%;background:#6c86ff;border:2px solid #1c2360;box-shadow:0 0 8px rgba(108,134,255,.8)}
.login-ghost{display:block;width:100%;text-align:center;margin:8px 0 0;background:none!important;border:0!important;box-shadow:none!important;color:#C9CFE0!important;font:inherit;font-size:13.5px!important;cursor:pointer;padding:6px!important}
.login-ghost:hover{color:#fff!important;text-decoration:underline}
.login-remove{font-size:12px!important;font-weight:500;margin:-4px 0 8px;color:#8d96bb!important}
.login-bio{text-align:center}
.login-face{display:grid;place-items:center;margin:2px auto 10px;width:78px;height:78px;border-radius:24px;position:relative;overflow:hidden;
 background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.2);transition:border-color .3s,box-shadow .3s}
.login-face .login-face-ic{width:42px;height:42px;stroke:#e6ebff;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.login-face.scan::before{content:"";position:absolute;left:10px;right:10px;height:2px;top:10px;background:linear-gradient(90deg,transparent,#8fa4ff,transparent);box-shadow:0 0 12px #8fa4ff;animation:faceScan 1.1s ease-in-out infinite alternate}
@keyframes faceScan{to{top:calc(100% - 12px)}}
.login-face.ok{border-color:rgba(61,220,132,.6);box-shadow:0 0 24px rgba(61,220,132,.45)}
.login-face.ok .login-face-ic{stroke:#3ddc84}
.login-bio-state{font-size:12.5px;font-weight:500;color:#aeb6d6;min-height:18px;margin-bottom:8px}
.login-bio-btn,.bio-yes{display:flex!important;align-items:center;justify-content:center;gap:9px}
.login-bio-btn .login-face-ic,.bio-yes .login-face-ic{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.login-sec{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:500;color:#8d96bb;margin-top:12px}
.login-sec svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-main-btn::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;pointer-events:none;background:linear-gradient(105deg,transparent,rgba(255,255,255,.75),transparent);transform:skewX(-18deg);animation:btnSweep 4.5s ease-in-out infinite}
@keyframes btnSweep{0%,70%{left:-60%}100%{left:130%}}
.bio-offer{position:fixed;inset:0;z-index:20000;background:rgba(5,8,25,.55);display:flex;align-items:flex-end;justify-content:center;padding:16px;opacity:0;transition:opacity .25s}
@media(min-width:761px){.bio-offer{align-items:center}}
.bio-offer.show{opacity:1}
.bio-card{width:min(400px,100%);border-radius:26px;padding:22px 20px 14px;text-align:center;color:#fff;margin-bottom:env(safe-area-inset-bottom);
 background:linear-gradient(160deg,rgba(47,58,146,.98),rgba(35,43,111,.98) 55%,rgba(28,35,92,.98));border:1px solid rgba(201,207,224,.3);
 box-shadow:0 24px 60px rgba(5,10,40,.5),inset 0 1px 0 rgba(255,255,255,.16);transform:translateY(20px);transition:transform .3s cubic-bezier(.3,1.2,.5,1)}
.bio-offer.show .bio-card{transform:none}
.bio-card h3{margin:4px 0 6px;font-size:20px;color:#fff}
.bio-card p{margin:0 0 16px;color:#c3c9da;font-size:13.5px;line-height:1.7}
.bio-card .login-main-btn{width:100%}
.bio-msg{min-height:18px;font-size:12.5px;font-weight:500;color:#C9CFE0;margin-top:6px}
@media(max-width:820px){
 .login-welcome{font-size:26px!important;margin-bottom:10px!important}
 .login-face{width:62px;height:62px;border-radius:19px}.login-face .login-face-ic{width:32px;height:32px}
 .login-tile{padding:9px 4px 8px!important}.login-av{width:38px;height:38px;font-size:13px}
 .login-overlay.has-accounts .login-hero,.login-overlay.has-accounts .login-support{display:none!important}
}
/* phones up to 780px tall (many Androids are 360×740): the slogan and the support line go, so the card fits one screen */
@media(max-width:820px) and (max-height:780px){.login-hero,.login-support{display:none!important}.login-logo-white{width:150px!important}}
/* the saved accounts on a phone: one row of tiles (swiped sideways when there are many), a smaller logo above them */
@media(max-width:820px){
 .login-accounts{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(68px,1fr);overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px;margin:0 -2px 6px}
 .login-accounts::-webkit-scrollbar{display:none}
 .login-tile{padding:8px 4px 7px!important;gap:4px}.login-av{width:36px;height:36px;font-size:12.5px;font-weight:500}
 .login-remove{margin:-4px 0 4px;padding:3px!important}
 .login-overlay.has-accounts .login-kicker{display:none!important}
 .login-overlay.has-accounts .login-logo-white{width:140px!important}
 .login-face{width:56px;height:56px;border-radius:17px;margin-bottom:8px}.login-face .login-face-ic{width:30px;height:30px}
}
@media(max-width:820px) and (max-height:700px){
 .login-overlay.has-accounts{padding-top:calc(env(safe-area-inset-top) + 56px)!important}
 .login-overlay.has-accounts .login-logo-white{width:112px!important}
 .login-overlay.has-accounts .login-greet{display:none}
}
@media (prefers-reduced-motion:reduce){.login-main-btn::after,.login-face.scan::before{animation:none}}
