.wpky-pwa-sheet{position:fixed;z-index:999999;left:50%;bottom:18px;transform:translateX(-50%);display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;width:min(92vw,430px);padding:15px 44px 15px 15px;border:1px solid #dce7f3;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 18px 50px rgba(16,42,84,.22);font-family:inherit;color:#102a54;backdrop-filter:blur(12px)}
.wpky-pwa-sheet[hidden]{display:none!important}.wpky-pwa-close{position:absolute;right:11px;top:9px;width:28px;height:28px;border:0;border-radius:50%;background:#f2f5f9;color:#62748d;font-size:19px;line-height:1;cursor:pointer}.wpky-pwa-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#0b3a72,#1769e9);color:#fff;font-size:14px;font-weight:900;box-shadow:0 7px 18px rgba(23,105,233,.25)}.wpky-pwa-copy strong{display:block;margin:1px 0 4px;font-size:14px}.wpky-pwa-copy p{margin:0;color:#667b96;font-size:11px;line-height:1.45}.wpky-pwa-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.wpky-pwa-btn{min-height:34px;padding:0 12px;border:1px solid #d8e2ee;border-radius:9px;background:#fff;color:#17345c;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.wpky-pwa-btn.is-primary{border-color:#1769e9;background:#1769e9;color:#fff}.wpky-pwa-btn.is-on{border-color:#b7ead0;background:#eefbf4;color:#087443}.wpky-pwa-btn:disabled{cursor:not-allowed;opacity:.6}.wpky-pwa-copy small{display:block;margin-top:8px;padding:8px 9px;border-radius:8px;background:#f5f8fc;color:#5f7390;font-size:9px;line-height:1.45}@media(min-width:821px){.wpky-pwa-sheet{display:none!important}}@media(max-width:420px){.wpky-pwa-sheet{bottom:10px;width:calc(100vw - 20px);grid-template-columns:42px minmax(0,1fr);padding:13px 38px 13px 13px;border-radius:15px}.wpky-pwa-icon{width:42px;height:42px;border-radius:12px}.wpky-pwa-actions{gap:6px}.wpky-pwa-btn{flex:1;min-width:120px;padding:0 9px}}


/* v1.7.313 — compact mobile install / notification sheet */
@media(max-width:820px){
  .wpky-pwa-sheet{
    left:10px!important;
    right:10px!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
    transform:none!important;
    width:auto!important;
    max-width:none!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    gap:9px!important;
    padding:10px 34px 10px 10px!important;
    border-radius:14px!important;
    box-shadow:0 14px 38px rgba(16,42,84,.2)!important;
  }
  .wpky-pwa-icon{
    width:36px!important;
    height:36px!important;
    border-radius:10px!important;
    font-size:11px!important;
  }
  .wpky-pwa-close{
    top:7px!important;
    right:7px!important;
    width:24px!important;
    height:24px!important;
    font-size:16px!important;
  }
  .wpky-pwa-copy strong{
    margin:0 0 2px!important;
    font-size:12px!important;
  }
  .wpky-pwa-copy p{
    font-size:9.5px!important;
    line-height:1.35!important;
  }
  .wpky-pwa-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    margin-top:7px!important;
  }
  .wpky-pwa-btn{
    min-width:0!important;
    min-height:30px!important;
    height:30px!important;
    padding:0 7px!important;
    border-radius:8px!important;
    font-size:8.5px!important;
    white-space:nowrap!important;
  }
  .wpky-pwa-copy small{
    margin-top:6px!important;
    padding:6px 7px!important;
    font-size:8.5px!important;
  }
}
@media(max-width:360px){
  .wpky-pwa-actions{grid-template-columns:1fr!important}
}

/* v1.7.314 — first-launch PWA notification activation */
@media(max-width:820px){
  .wpky-pwa-sheet .wpky-pwa-btn.is-primary{box-shadow:0 6px 16px rgba(23,105,233,.22)}
  .wpky-pwa-sheet .wpky-pwa-btn.is-on{box-shadow:none!important}
}


/* v1.7.315 — installed PWA first-launch notification permission modal */
@media(max-width:820px){
  body.wpky-pwa-modal-open{overflow:hidden!important}
  body.wpky-pwa-modal-open:before{content:"";position:fixed;inset:0;z-index:999998;background:rgba(8,24,48,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
  .wpky-pwa-sheet.is-first-launch{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(calc(100vw - 28px),390px)!important;max-width:390px!important;display:block!important;padding:24px 18px 18px!important;border-radius:22px!important;border:1px solid rgba(219,231,246,.95)!important;background:#fff!important;box-shadow:0 28px 80px rgba(8,31,62,.32)!important;text-align:center!important;z-index:999999!important}
  .wpky-pwa-sheet.is-first-launch .wpky-pwa-icon{width:58px!important;height:58px!important;margin:0 auto 13px!important;border-radius:17px!important;font-size:16px!important}
  .wpky-pwa-sheet.is-first-launch .wpky-pwa-copy strong{font-size:19px!important;line-height:1.2!important;color:#102a54!important;margin-bottom:7px!important}
  .wpky-pwa-sheet.is-first-launch .wpky-pwa-copy p{max-width:320px;margin:0 auto!important;font-size:12px!important;line-height:1.55!important;color:#667b96!important}
  .wpky-pwa-sheet.is-first-launch .wpky-pwa-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:17px!important}
  .wpky-pwa-sheet.is-first-launch #wpky-pwa-install{display:none!important}
  .wpky-pwa-sheet.is-first-launch .wpky-pwa-btn{height:43px!important;min-height:43px!important;border-radius:11px!important;font-size:11px!important}
  .wpky-pwa-sheet.is-first-launch #wpky-pwa-push{order:1!important;background:#1769e9!important;border-color:#1769e9!important;color:#fff!important;box-shadow:0 8px 20px rgba(23,105,233,.24)!important}
  .wpky-pwa-sheet.is-first-launch .wpky-pwa-later{order:2!important;background:#f7f9fc!important;color:#60738d!important;border-color:#e1e8f1!important}
  .wpky-pwa-sheet.is-first-launch .wpky-pwa-copy small{margin-top:10px!important;padding:9px 10px!important;font-size:9.5px!important;line-height:1.45!important;text-align:left!important}
}
