/* MulaTask PWA — aligned with the theme's purple-gradient identity */
#mulatask-pwa-prompt[hidden] { display: none !important; }
.mt-pwa-prompt {
  position: fixed;
  z-index: 2147483000;
  top: 78px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mt-pwa-panel {
  position: relative;
  width: min(620px, 100%);
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid rgba(100,32,223,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.97);
  color: #272147;
  box-shadow: 0 16px 48px rgba(64,24,130,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}
.mt-pwa-panel:before {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg,#5010db,#9825f2,#c08aff);
}
.mt-pwa-brand { display:flex; align-items:center; gap:12px; min-width:0; }
.mt-pwa-icon {
  display:block; width:54px; height:54px; flex:0 0 54px;
  border-radius:15px; object-fit:cover;
  box-shadow:0 7px 18px rgba(100,32,223,.20);
}
.mt-pwa-copy { display:flex; flex-direction:column; min-width:0; gap:3px; }
.mt-pwa-eyebrow {
  color:#7628db; font-size:8px; font-weight:900;
  letter-spacing:.14em; line-height:1.2;
}
.mt-pwa-copy strong { color:#272147; font-size:14px; line-height:1.2; font-weight:850; }
.mt-pwa-description { color:#706987; font-size:10px; line-height:1.4; }
.mt-pwa-actions { display:flex; align-items:center; justify-content:flex-end; gap:9px; margin-top:11px; }
.mt-pwa-install-btn {
  min-height:36px; padding:0 19px; border:0; border-radius:22px;
  background:linear-gradient(105deg,#6420df,#9825f2);
  color:#fff; font:800 11px/1 Inter,system-ui,sans-serif;
  cursor:pointer; box-shadow:0 7px 17px rgba(100,32,223,.22);
}
.mt-pwa-install-btn:hover { filter:brightness(1.06); transform:translateY(-1px); }
.mt-pwa-close {
  display:grid; place-items:center; width:31px; height:31px;
  border:1px solid #e7def6; border-radius:50%; background:#fff;
  color:#71658c; font-size:20px; line-height:1; cursor:pointer;
}
.mt-pwa-help { margin:9px 2px 0; color:#66577f; font-size:11px; line-height:1.45; }
.mt-pwa-help:empty { display:none; }
.mt-pwa-install-btn:focus-visible,.mt-pwa-close:focus-visible {
  outline:3px solid rgba(100,32,223,.28); outline-offset:2px;
}
/* Follow the MulaTask dark-mode body class used by the supplied theme. */
body.mula-dark .mt-pwa-panel {
  border-color:rgba(185,138,255,.22); background:
  background:rgba(29,18,45,.97); color:#f4efff;
  box-shadow:0 18px 50px rgba(0,0,0,.40);
}
body.mula-dark .mt-pwa-copy strong { color:#fff; }
body.mula-dark .mt-pwa-description, body.mula-dark .mt-pwa-help { color:#c9b9df; }
body.mula-dark .mt-pwa-close { background:#291a3d; border-color:#493260; color:#e5d8f5; }
@media (max-width:600px) {
  .mt-pwa-prompt { top:68px; padding:0 9px; }
  .mt-pwa-panel { padding:11px; border-radius:17px; }
  .mt-pwa-icon { width:44px; height:44px; flex-basis:44px; border-radius:13px; }
  .mt-pwa-copy strong { font-size:12px; }
  .mt-pwa-description { font-size:9px; }
  .mt-pwa-actions { margin-top:9px; }
}
@media (max-width:360px) {
  .mt-pwa-brand { gap:8px; }
  .mt-pwa-icon { width:39px; height:39px; flex-basis:39px; }
  .mt-pwa-description { font-size:8px; }
}
