/* Keep Arabic dots and ascenders fully visible in compact headers. */
.top{overflow:visible}.top h2{line-height:1.55;padding:2px 0}
.car{object-fit:contain}.car.hero{width:118px;height:79px}.car.logo{width:86px;height:57px}.car.small{width:35px;height:23px}.car.search-car{width:78px;height:52px}.car.credit-icon{width:56px;height:37px}.success{margin:8px 0;padding:10px;border:1px solid #397d62;border-radius:11px;background:#14362b;color:#dff8ed;font-weight:700;text-align:center}
.share-icon{position:absolute;left:92px;top:4px;display:grid;place-items:center;width:33px;height:33px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--white);cursor:pointer}.share-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.share-icon svg circle{fill:currentColor;stroke:none}.share-icon:active{background:#ffffff18}.top.with-share{padding-left:152px}@media(max-width:359px){.top.with-share{padding-left:140px}.share-icon{left:86px}}

/* Authentication layouts stay usable when the mobile keyboard reduces the visual viewport. */
.auth-screen{min-height:var(--auth-visible-height,100dvh);display:flex;flex-direction:column;padding-bottom:18px;scroll-margin-bottom:18px}.auth-brand{margin:clamp(6px,4dvh,24px) 0 4px}.auth-card{margin-top:auto;margin-bottom:auto;scroll-margin-block:20px}.auth-actions{padding-top:1px}

/* Keep the credit action separate from the balance and the share action independent from the header. */
.credit-section{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;margin:2px 0 11px}.credit-section .credit-bar{margin:0}.add-credit-button,.share-action{border:1px solid #d84a4e;border-radius:12px;background:transparent;color:#fff;font-weight:700;cursor:pointer}.add-credit-button{min-width:96px;padding:8px 12px;font-size:.83rem}.share-action{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin:0 0 9px;padding:9px 12px;font-size:.84rem}.share-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.share-action svg circle{fill:currentColor;stroke:none}.add-credit-button:active,.share-action:active{background:#ffffff18}

@media(max-height:560px){.auth-screen .auth-brand{margin:2px 0}.auth-screen .car.logo{width:52px;height:40px;margin:0 auto}.auth-screen .brand{font-size:1.35rem;margin:3px 0}.auth-screen .en{font-size:.58rem}.auth-screen .top{min-height:35px}.auth-screen .top h2{font-size:1rem}.auth-card{margin:6px 0}}
@media(max-width:359px){.credit-section{grid-template-columns:1fr}.add-credit-button{min-height:41px}}

/* Locked results and the insufficient-credit prompt use the existing mobile-first visual language. */
.result-card .plate{margin-bottom:9px}.locked-details{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;margin:3px 0 9px;padding:8px;border:1px dashed #40565f;border-radius:10px;color:#c8d5d9;font-size:.84rem}.unlock-overlay{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:#05090ccc;backdrop-filter:blur(4px)}.unlock-dialog{width:min(100%,400px);padding:22px 17px 17px;border:1px solid #596e76;border-radius:18px;background:linear-gradient(145deg,#1a2c33,#0d1519);box-shadow:0 18px 48px #0008;text-align:center}.unlock-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 10px;border:1px solid #d84a4e;border-radius:50%;background:#3c2025;font-size:1.35rem}.unlock-dialog h3{margin:0 0 8px;font-size:1.12rem}.unlock-dialog p{margin:0 0 14px;color:var(--muted);line-height:1.6}.unlock-dialog .button{margin-top:8px}.unlock-dialog .unlock-cancel{margin-top:7px}

/* Credit-pack page: compact mobile cards with a stronger treatment for PRO tiers. */
.packages-screen{padding-bottom:24px}.packages-credit{margin-top:8px;margin-bottom:8px}.packages-note{margin:0 0 12px;color:var(--muted);font-size:.82rem;text-align:center}.packages-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.package-card{display:flex;min-width:0;min-height:148px;flex-direction:column;justify-content:center;gap:5px;padding:12px 10px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#17282f,#0f181d);box-shadow:0 7px 18px #0002;text-align:center}.package-card.selected{border-color:#ef494d;box-shadow:0 0 0 1px #ef494d,0 8px 20px #df2b3033}.package-card strong{color:#fff;font:800 1.3rem/1 Arial}.package-card b{font-size:.82rem}.package-title{min-height:19px;overflow:hidden;color:#dbe5e8;font-size:.76rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.package-card .button{min-height:37px;margin-top:4px;padding:8px;font-size:.77rem}.pro-package{border-color:#a94449;background:linear-gradient(145deg,#3a2025,#151d22)}.pro-package:last-child{grid-column:1/-1;min-height:132px}.packages-loading,.package-selection{margin:12px 0;padding:12px;border:1px solid #3a5059;border-radius:12px;background:#111d22;color:#dce6e9;text-align:center}.package-selection{border-color:#397d62;background:#14362b;color:#dff8ed;font-size:.86rem;line-height:1.6}@media(min-width:430px){.package-card{min-height:154px;padding:14px}.package-card .button{font-size:.82rem}}@media(max-width:359px){.packages-grid{gap:7px}.package-card{min-height:140px;padding:10px 7px}.package-card strong{font-size:1.16rem}.package-card b,.package-title{font-size:.74rem}}
