/* Additive iOS/dual-store offer. Existing map, panorama and Android styling stays intact. */
.android-app-promo,.app-promo-compact-group{--tkcz-app-promo-v3-ready:1;}
.app-promo-compact-group{
    --tkcz-app-promo-ready:1;
    position:fixed;
    top:max(84px,calc(env(safe-area-inset-top, 0px) + 80px));
    left:max(16px,calc(env(safe-area-inset-left, 0px) + 4px));
    z-index:460;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    max-width:calc(100% - 96px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    pointer-events:none;
}
.app-promo-compact-group[hidden]{display:none;}
.app-promo-compact-group .android-app-promo-compact{position:static;max-width:100%;}
.app-promo-platforms{order:1;display:flex;gap:6px;margin:-6px 0 18px;}
.app-promo-platforms button{min-height:40px;padding:7px 20px;border:1px solid #536558;border-radius:24px;background:transparent;color:#fff6e8;font-family:inherit;font-size:14px;line-height:1.2;font-weight:600;cursor:pointer;}
.app-promo-platforms button[aria-pressed="true"]{background:#254b39;border-color:#83b894;}
.app-promo-stores{display:flex;gap:10px;}
.app-promo-stores a{flex:1;}
.app-promo-stores a[data-store="app_store"]{background:#fff6e8;color:#102217;}
.app-promo-stores a[data-store="app_store"]:hover{background:#fff;}
.app-promo-requirement{margin:8px 0 0;color:#c8c5b8;font-size:11px;line-height:1.4;text-align:center;}
.android-app-promo[data-preview-store="app_store"] .android-app-promo-screens img{aspect-ratio:396/860;}
.android-app-promo[data-preview-store="app_store"] .android-app-promo-screens figcaption{font-size:13px;line-height:1.35;}
.android-app-promo[data-preview-store="app_store"] .android-app-promo-screens figcaption small{margin-top:5px;line-height:1.45;}
@media(max-width:420px){
    .android-app-promo[data-platform="desktop"] .app-promo-stores{flex-direction:column;gap:6px;}
}
@media(max-width:640px) and (max-height:700px){
    .android-app-promo[data-preview-store="app_store"] .android-app-promo-screens{grid-auto-columns:108px;}
}
/* On short phones the concise captions suffice; keep both actions visible
   instead of placing explanatory sentences underneath the sticky footer. */
@media(max-width:640px) and (max-height:600px){
    .android-app-promo[data-preview-store="app_store"] .android-app-promo-screens figcaption small{display:none;}
}
