/* Scoped homepage download prompt — no global Rydlance screen or modal rules modified. */
#ryd-home-download-prompt, #ryd-home-download-prompt * { box-sizing:border-box; }
#ryd-home-download-prompt[hidden] { display:none!important; }
#ryd-home-download-prompt.ryd-dl-backdrop {
  position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center;
  padding:18px; background:rgba(9,30,47,.65); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  overflow-y:auto; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
#ryd-home-download-prompt .ryd-dl-card {
  position:relative; width:min(100%,430px); max-height:calc(100dvh - 36px); overflow:auto;
  background:#fffefa; color:#142c3b; border-radius:27px; box-shadow:0 24px 80px rgba(6,29,47,.32);
  border:1px solid rgba(255,255,255,.6); outline:none; animation:ryd-dl-entry .32s cubic-bezier(.2,.9,.2,1) both;
}
#ryd-home-download-prompt .ryd-dl-art { height:185px; position:relative; overflow:hidden; background:linear-gradient(138deg,#095fbe,#137a89 56%,#08a58a); }
#ryd-home-download-prompt .ryd-dl-art-circle { position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(206,245,139,.48); right:-84px; top:-145px; }
#ryd-home-download-prompt .ryd-dl-scene { position:absolute; width:78%; height:175px; object-fit:contain; right:-5%; bottom:-20px; filter:drop-shadow(0 5px 8px rgba(5,33,51,.16)); }
#ryd-home-download-prompt .ryd-dl-brand { position:absolute; top:21px; left:22px; display:flex; align-items:center; gap:9px; color:white; font-weight:900; font-size:16px; letter-spacing:.05em; text-shadow:0 1px 2px rgba(0,0,0,.15); }
#ryd-home-download-prompt .ryd-dl-brand img { object-fit:contain; border-radius:10px; background:white; padding:3px; }
#ryd-home-download-prompt .ryd-dl-close { position:absolute; z-index:2; top:13px; right:13px; width:39px; height:39px; padding:0; display:grid; place-items:center; border:1px solid rgba(255,255,255,.6); border-radius:50%; background:rgba(4,30,48,.52); color:white; font-size:29px; line-height:1; cursor:pointer; }
#ryd-home-download-prompt .ryd-dl-content { padding:25px 28px 20px; text-align:center; }
#ryd-home-download-prompt .ryd-dl-eyebrow { font-size:10px; font-weight:850; letter-spacing:1.35px; color:#057e6e; }
#ryd-home-download-prompt h2 { font-family:inherit; font-size:clamp(25px,6.3vw,33px); font-weight:850; line-height:1.1; letter-spacing:-1.1px; margin:10px 0 11px; color:#10263b; }
#ryd-home-download-prompt p { margin:0; color:#556671; font-size:14px; line-height:1.65; }
#ryd-home-download-prompt .ryd-dl-chips { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; margin:18px 0 23px; }
#ryd-home-download-prompt .ryd-dl-chips span { border-radius:50px; padding:7px 10px; background:#e9f7ef; color:#165b4d; font-size:11px; font-weight:750; }
#ryd-home-download-prompt .ryd-dl-primary { display:flex; justify-content:center; align-items:center; gap:9px; padding:15px 12px; min-height:53px; border-radius:14px; background:#155de9; color:white; text-decoration:none; font-size:14px; font-weight:800; box-shadow:0 6px 16px #155de922; }
#ryd-home-download-prompt .ryd-dl-primary:hover { background:#114ac0; color:#fff; }
#ryd-home-download-prompt .ryd-dl-later { cursor:pointer; border:0; background:none; color:#425769; font-size:13px; font-weight:720; min-height:40px; margin:7px auto 1px; padding:8px 15px; display:block; }
#ryd-home-download-prompt .ryd-dl-footnote { font-size:11px; opacity:.83; line-height:1.45; }
#ryd-home-download-prompt button:focus-visible, #ryd-home-download-prompt a:focus-visible { outline:3px solid #ffcc5f; outline-offset:3px; }
.ryd-dl-hero-link { display:inline-flex!important; gap:8px; align-items:center; justify-content:center; min-height:52px; padding:12px 18px; font-family:inherit; font-size:13px; line-height:1.25; font-weight:750; text-decoration:none!important; color:#123046!important; background:#d3f175; border:1px solid #abc952; border-radius:14px; white-space:normal; }
.ryd-dl-hero-link:hover { background:#e2f7a7; }
.ryd-dl-hero-link:focus-visible { outline:3px solid #155de9; outline-offset:3px; }
@keyframes ryd-dl-entry { from { opacity:0; transform:translateY(17px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
@media(max-width:500px){
  #ryd-home-download-prompt.ryd-dl-backdrop { padding:12px; }
  #ryd-home-download-prompt .ryd-dl-card { border-radius:23px; max-height:calc(100dvh - 24px); }
  #ryd-home-download-prompt .ryd-dl-art { height:140px; }
  #ryd-home-download-prompt .ryd-dl-scene { height:132px; }
  #ryd-home-download-prompt .ryd-dl-content { padding:21px 20px 17px; }
  #ryd-home-download-prompt .ryd-dl-chips { margin:14px 0 17px; }
}
@media(prefers-reduced-motion:reduce){#ryd-home-download-prompt .ryd-dl-card { animation:none; }}
