/* iOS-only manual Add-to-Home-Screen guide. Android and PC prompts unchanged. */
.pwa-prompt.pwa-prompt-ios{
 position:fixed;box-sizing:border-box;z-index:10030;
 left:max(12px,env(safe-area-inset-left,0px));
 bottom:calc(14px + env(safe-area-inset-bottom,0px));
 width:min(430px,calc(100vw - 24px));
 max-height:min(76dvh,620px);overflow-y:auto;overscroll-behavior:contain;
 display:none;align-items:flex-start;gap:12px;padding:17px 14px;
 border:1px solid var(--ui-line,#e7dfe2);border-radius:18px;
 background:var(--ui-surface,#fff);color:var(--ui-text,#30282b);
 box-shadow:0 18px 50px rgba(26,17,22,.21);
}
.pwa-prompt.pwa-prompt-ios.show{display:flex}
.pwa-prompt-ios .pwa-prompt-icon{width:42px;height:42px;flex:0 0 42px;object-fit:contain}
.pwa-prompt-ios .pwa-prompt-copy{flex:1;min-width:0}
.pwa-prompt-ios .pwa-prompt-copy>b{display:block;font-size:15px;line-height:1.4;margin-bottom:7px}
.pwa-prompt-ios .pwa-prompt-copy>p{font-size:12px;line-height:1.6;margin:0 0 8px;color:var(--ui-muted,#58515a)}
.pwa-ios-install-steps{padding:9px 10px 9px 31px;margin:9px 0!important;border-radius:12px;background:#f9f5f7;color:#332c33;line-height:1.5;font-size:12px}
.pwa-ios-install-steps li{padding:2px 0}
.pwa-ios-install-bonus{display:block;margin:8px 0;color:#89506d;font-size:11px;font-weight:750;line-height:1.4}
.pwa-prompt-ios .pwa-prompt-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.pwa-prompt-ios .pwa-prompt-actions button{min-height:38px;padding:8px 12px;border:1px solid #dccad2;border-radius:999px;background:#fff;color:#393139;font-size:12px;font-weight:750}
.pwa-prompt-ios .pwa-prompt-actions button.primary{background:#91657d;color:#fff;border-color:#91657d}
.pwa-prompt-ios .pwa-prompt-close{flex:0 0 30px;min-height:35px;cursor:pointer;font-size:20px;color:#695e64;background:transparent;border:none}
.pwa-prompt-ios button:focus-visible{outline:3px solid #91657d;outline-offset:2px}
@media (min-width:600px){.pwa-prompt.pwa-prompt-ios{left:18px;width:min(430px,calc(100vw - 36px))}}
@media (prefers-reduced-motion:reduce){.pwa-prompt-ios{scroll-behavior:auto}}

/* iPhone manual PWA help: reliable tap targets and safe viewport. */
@supports (-webkit-touch-callout:none){
 .pwa-prompt.pwa-prompt-ios{max-height:min(76vh,620px);max-height:min(76dvh,620px);-webkit-overflow-scrolling:touch;touch-action:pan-y}
 .pwa-prompt-ios .pwa-prompt-actions button,.pwa-prompt-ios .pwa-prompt-close{
   position:relative;z-index:1;pointer-events:auto!important;min-height:44px;min-width:44px;touch-action:manipulation
 }
}
@supports (-webkit-touch-callout:none){
 @media(max-width:820px){
  #sitePopup #sitePopupClose,#sitePopup #sitePopupClose2{
   pointer-events:auto!important;min-width:44px;min-height:44px;touch-action:manipulation;
  }
 }
}
