/* Mobile install-to-home-screen prompt (components/PwaInstallPrompt.tsx + js/pwa-prompt.js) */
.jtp-root[hidden]{display:none!important}
.jtp-root{position:fixed;inset:0;z-index:1500;display:flex;align-items:flex-end;justify-content:center;padding:0 12px calc(16px + env(safe-area-inset-bottom,0px));pointer-events:none}
.jtp-backdrop{position:absolute;inset:0;background:rgba(16,21,30,.32);pointer-events:auto;animation:jtp-fade .18s ease-out}
.jtp-card{position:relative;width:100%;max-width:320px;background:#fff;color:#10151E;border-radius:18px;box-shadow:0 18px 48px rgba(16,21,30,.22);padding:18px 16px 14px;pointer-events:auto;font-family:inherit;animation:jtp-up .22s ease-out;box-sizing:border-box}
.jtp-view[hidden]{display:none!important}
.jtp-x{position:absolute;top:6px;right:8px;width:32px;height:32px;border:0;background:transparent;color:#8a93a3;font-size:22px;line-height:32px;cursor:pointer;border-radius:50%}
.jtp-x:active{background:#F1F4F9}
.jtp-logo{display:block;width:56px;height:56px;border-radius:14px;margin:2px auto 10px;box-shadow:0 2px 8px rgba(2,147,254,.18)}
.jtp-title{font-size:16px;font-weight:700;line-height:1.35;margin:0 24px 6px;text-align:center}
.jtp-desc{font-size:13px;line-height:1.5;color:#5b6577;margin:0 0 14px;text-align:center}
.jtp-actions{display:flex;gap:10px}
.jtp-btn{flex:1;min-height:42px;border-radius:12px;font-size:15px;font-weight:600;border:0;cursor:pointer}
.jtp-btn-ghost{background:#F1F4F9;color:#3b4456}
.jtp-btn-primary{background:#0293FE;color:#fff}
.jtp-btn-primary:active{background:#0080e0}
.jtp-steps{list-style:none;margin:8px 0 10px;padding:0;display:flex;flex-direction:column;gap:8px}
.jtp-steps li{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.45;background:#F6F8FC;border-radius:12px;padding:9px 10px}
.jtp-steps li>span:nth-child(2){flex:1}
.jtp-num{flex:0 0 22px;height:22px;border-radius:50%;background:#0293FE;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.jtp-chip{flex:0 0 32px;height:32px;border-radius:9px;background:#fff;color:#0293FE;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(16,21,30,.12)}
.jtp-ico{width:20px;height:20px}
.jtp-dots{font-size:20px;font-weight:700}
.jtp-arrow{text-align:center;color:#0293FE;font-size:20px;margin:-2px 0 8px;animation:jtp-bob 1.2s ease-in-out infinite}
@keyframes jtp-fade{from{opacity:0}to{opacity:1}}
@keyframes jtp-up{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
@keyframes jtp-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
@media (prefers-reduced-motion:reduce){.jtp-backdrop,.jtp-card,.jtp-arrow{animation:none}}

/* Header-area install strip (门头). Non-sticky; the sticky site header below keeps its behaviour. */
.jtp-bar[hidden]{display:none!important}
.jtp-bar{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 10px;background:#EAF4FF;color:#10151E;border-bottom:1px solid #d6e8fb;font-size:12px;line-height:1.3;position:relative;z-index:60}
.jtp-bar-logo{flex:0 0 28px;width:28px;height:28px;border-radius:7px}
.jtp-bar-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.jtp-bar-txt b{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jtp-bar-txt small{font-size:11px;color:#5b6577;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jtp-bar-btn{flex:0 0 auto;border:0;background:#0293FE;color:#fff;font-weight:600;font-size:12px;border-radius:999px;padding:6px 14px;cursor:pointer}
.jtp-bar-x{flex:0 0 28px;width:28px;height:28px;border:0;background:transparent;color:#8a93a3;font-size:20px;line-height:28px;cursor:pointer}
@media (min-width:1024px){.jtp-bar{justify-content:center}.jtp-bar-txt{flex:0 1 auto}}
