/* Home-only stylesheet. Dialog values mirror the existing Viloo download UI. */
.r41-store-badge[data-download]{padding:0;border:0;background:transparent;color:inherit;font:inherit;border-radius:7px;appearance:none;-webkit-appearance:none;touch-action:manipulation}
.r41-store-badge[data-download]:focus-visible{outline:3px solid #4787df;outline-offset:5px}
#download-dialog{box-sizing:border-box;border:0;border-radius:28px;max-width:680px;width:calc(100% - 48px);padding:66px 45px 50px;text-align:center;color:#1d1d1f;box-shadow:0 40px 120px #0003;background:#fff;overflow:auto;max-height:calc(100svh - 48px);font-family:inherit;line-height:1.5}
#download-dialog::backdrop{background:#0006;backdrop-filter:blur(6px)}
#download-dialog[open]{animation:home-download-dialog-in 250ms var(--ease-out,cubic-bezier(.23,1,.32,1)) both}
#download-dialog[data-keyboard="true"]{animation:none}
@keyframes home-download-dialog-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
#download-dialog h2{font-size:36px;font-weight:600;letter-spacing:-.04em;line-height:1.3;margin:15px 0 20px}
#download-dialog>p{font-size:17px;line-height:1.7;color:#86868b;margin:20px 0 34px}
#download-dialog .download-close{position:absolute;top:20px;right:20px;width:36px;height:36px;background:#ededf0;border:0;border-radius:50%;display:grid;place-items:center;padding:8px;cursor:pointer;touch-action:manipulation}
#download-dialog .download-close svg{width:20px;height:20px;fill:none;stroke:#717177;stroke-width:1.8;stroke-linecap:round}
#download-dialog .download-close:focus-visible{outline:3px solid #4787df;outline-offset:5px}
#download-dialog .download-qr-placeholder{width:240px;height:240px;margin:auto;background:#f5f5f7;border-radius:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px;color:#94949a;font-size:13px}
#download-dialog .pending-app-icon{width:90px;height:90px;display:block}
#download-dialog .pending-app-icon img{border-radius:21px;display:block;max-width:100%;height:auto}
#download-dialog .download-qr{width:220px;height:220px;display:block;margin:auto}
@media(hover:hover) and (pointer:fine){#download-dialog .download-close:hover{background:#dedee3}}
@media(max-width:760px){
 #download-dialog{width:calc(100% - 32px);padding:67px 23px 35px;border-radius:25px}
 #download-dialog h2{font-size:27px}
 #download-dialog>p{font-size:15px;margin:18px 0 28px}
 #download-dialog .download-qr-placeholder{width:220px;height:220px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){#download-dialog[open]{animation:none}}
@media(prefers-reduced-transparency:reduce){#download-dialog::backdrop{backdrop-filter:none}}
@media print{#download-dialog{display:none}}
