/* Install card is owned by the top-level document, outside the wallet iframe. */
#kpop-install-card[hidden],#kpop-install-card [hidden]{display:none!important}
#kpop-install-card{box-sizing:border-box;position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:1100;display:flex;align-items:flex-start;gap:15px;width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 36px);overflow:auto;padding:22px 45px 22px 22px;border:1px solid #dce5f2;border-radius:16px;background:#fff;color:#112544;box-shadow:0 15px 60px #06152d33;font:15px/1.6 KpopReference,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;animation:kpop-install-enter .2s ease-out}
#kpop-install-card *{box-sizing:border-box}
#kpop-install-card .kpop-install-icon{flex:0 0 48px;width:48px;height:48px;border-radius:12px;margin-top:3px}
#kpop-install-card .kpop-install-copy{min-width:0}
#kpop-install-card small{font-size:10px;font-weight:800;letter-spacing:.12em;color:#647b9a}
#kpop-install-card h2{margin:3px 0 7px;font-size:20px;font-weight:800;line-height:1.4;color:#112544}
#kpop-install-card p{margin:0;font-size:14px;line-height:1.7;color:#61738e}
#kpop-install-card ol{padding:0 0 0 19px;margin:15px 0 0;font-size:14px;line-height:1.7;color:#344d70;list-style:decimal}
#kpop-install-card li{margin:7px 0;list-style:decimal}
#kpop-install-card button{font-family:inherit;cursor:pointer;border:0}
#kpop-install-card .kpop-install-primary{margin-top:16px;padding:11px 22px;border-radius:9px;background:#ffc700;color:#102344;font-size:14px;font-weight:800}
#kpop-install-card .kpop-install-close{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#f0f4fa;color:#61738e;font-size:23px;line-height:1}
#kpop-install-card button:focus-visible{outline:3px solid #1556ca;outline-offset:3px}
:is(#homepage-reference,#shop-reference,#account-reference) footer.site-footer .footer-install{margin-top:14px}
:is(#homepage-reference,#shop-reference,#account-reference) footer.site-footer .footer-install button{padding:10px 15px;border:1px solid #70819c;border-radius:8px;background:transparent;color:#fff;font-size:14px;font-weight:650;line-height:1.5;cursor:pointer;text-align:left}
:is(#homepage-reference,#shop-reference,#account-reference) footer.site-footer .footer-install button:hover{border-color:#ffc700;color:#ffc700}
:is(#homepage-reference,#shop-reference,#account-reference) footer.site-footer .footer-install button:disabled{opacity:.65;cursor:default}
@keyframes kpop-install-enter{from{opacity:0;translate:0 -12px}to{opacity:1;translate:0 0}}
@media(max-width:400px){#kpop-install-card{gap:12px;padding:18px 40px 18px 16px}#kpop-install-card .kpop-install-icon{width:36px;height:36px;flex-basis:36px}#kpop-install-card h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){#kpop-install-card{animation:none}}
