.tofy-pwa-install{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid rgba(177,112,255,.62);border-radius:12px;background:linear-gradient(135deg,rgba(111,51,183,.22),rgba(35,20,56,.88));color:#f4eaff;font:700 13px/1 Tahoma,Arial,sans-serif;cursor:pointer;box-shadow:0 0 20px rgba(125,69,205,.14)}
.tofy-pwa-install.is-visible{display:inline-flex}.tofy-pwa-install:hover{border-color:#c99aff;box-shadow:0 0 24px rgba(158,91,255,.3)}.tofy-pwa-install .pwa-ico{font-size:16px}
.tofy-pwa-sheet{position:fixed;inset:0;z-index:100000;display:none;align-items:flex-end;justify-content:center;padding:18px;background:rgba(3,4,10,.72);backdrop-filter:blur(8px)}.tofy-pwa-sheet.open{display:flex}.tofy-pwa-card{position:relative;width:min(520px,100%);border:1px solid rgba(173,110,255,.6);border-radius:24px;background:linear-gradient(180deg,#121424,#090a12);box-shadow:0 24px 90px rgba(0,0,0,.6),0 0 34px rgba(132,71,222,.2);padding:24px;color:#fff}.tofy-pwa-close{position:absolute;top:12px;left:12px;width:34px;height:34px;border-radius:10px;border:1px solid #34374b;background:#171927;color:#fff;font-size:22px;cursor:pointer}.tofy-pwa-head{display:flex;gap:14px;align-items:center;margin-bottom:16px}.tofy-pwa-head img{width:66px;height:66px;border-radius:16px;object-fit:contain;background:#0b0c15;border:1px solid #49336c}.tofy-pwa-head h3{margin:0 0 5px;font-size:22px}.tofy-pwa-head p{margin:0;color:#9fa4be;font-size:13px}.tofy-pwa-steps{display:grid;gap:10px;margin:18px 0}.tofy-pwa-step{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid #292c41;border-radius:14px;background:#0d0f1a;color:#dfe2ef}.tofy-pwa-step b{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:9px;background:#6e3bb1;color:#fff}.tofy-pwa-mainbtn{width:100%;border:1px solid #c292ff;border-radius:14px;padding:13px 18px;background:linear-gradient(135deg,#7440b8,#a65aeb);color:#fff;font-weight:800;cursor:pointer}.tofy-pwa-note{margin:12px 0 0;text-align:center;color:#858ba4;font-size:12px;line-height:1.7}
@media(max-width:760px){.top-actions .tofy-pwa-install{padding:0 9px}.tofy-pwa-install .pwa-label{display:none}.tofy-pwa-sheet{padding:10px}.tofy-pwa-card{border-radius:22px}}
@media(display-mode:standalone){.tofy-pwa-install{display:none!important}}

.tofy-pwa-home-install{margin:18px 0 22px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(177,112,255,.48);border-radius:20px;background:linear-gradient(135deg,rgba(65,28,103,.38),rgba(13,15,28,.96));box-shadow:inset 0 0 24px rgba(132,73,218,.08)}
.tofy-pwa-home-install[hidden]{display:none!important}.tofy-pwa-home-copy{display:flex;align-items:center;gap:13px;min-width:0}.tofy-pwa-home-copy img{width:58px;height:58px;border-radius:15px;object-fit:cover;box-shadow:0 0 18px rgba(157,93,255,.22)}.tofy-pwa-home-copy div{display:grid;gap:5px}.tofy-pwa-home-copy b{font-size:18px;color:#fff}.tofy-pwa-home-copy small{font-size:13px;color:#bdb5ca}.tofy-pwa-home-btn{min-height:46px;padding:0 20px;border:1px solid rgba(198,151,255,.75);border-radius:14px;background:linear-gradient(135deg,#6d35a9,#3d1c67);color:#fff;font:800 14px Tahoma,Arial,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 0 20px rgba(139,73,222,.18)}
@media(max-width:650px){.tofy-pwa-home-install{align-items:stretch;flex-direction:column}.tofy-pwa-home-btn{width:100%}.tofy-pwa-home-copy b{font-size:16px}}
@media(display-mode:standalone){.tofy-pwa-home-install{display:none!important}}

/* V46: explicit iPhone / Android PWA install buttons */
.tofy-pwa-store-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tofy-pwa-apple{background:linear-gradient(135deg,#17191f,#06070a);border-color:#737887}.tofy-pwa-android{background:linear-gradient(135deg,#176044,#103b2d);border-color:#43b98a}.tofy-pwa-store-actions .tofy-pwa-home-btn{min-width:168px}.tofy-pwa-platform-note{margin:10px 0 0;color:#aeb4c9;font-size:12px;line-height:1.7}.tofy-pwa-android-help{display:grid;gap:10px;margin:18px 0}.tofy-pwa-android-help[hidden]{display:none}.tofy-pwa-android-help .tofy-pwa-step{margin:0}@media(max-width:650px){.tofy-pwa-store-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.tofy-pwa-store-actions .tofy-pwa-home-btn{min-width:0;padding:0 9px;font-size:12px}}@media(max-width:390px){.tofy-pwa-store-actions{grid-template-columns:1fr}}


/* V49.1 — bright permanent neon install control in the main header */
.topbar .tofy-pwa-install{
  position:relative;
  isolation:isolate;
  min-height:46px;
  padding:0 18px;
  border:1px solid rgba(54,224,255,.95);
  border-radius:14px;
  background:linear-gradient(135deg,#08b9ff 0%,#5b37ff 42%,#d819ff 74%,#ff2fa8 100%);
  color:#fff;
  font-weight:900;
  letter-spacing:.1px;
  box-shadow:0 0 7px rgba(36,219,255,.95),0 0 18px rgba(80,80,255,.75),0 0 32px rgba(225,30,255,.52),inset 0 0 18px rgba(255,255,255,.18);
  text-shadow:0 0 8px rgba(255,255,255,.95),0 0 14px rgba(94,229,255,.75);
  overflow:hidden;
  animation:tofyInstallPulse 2.2s ease-in-out infinite;
}
.topbar .tofy-pwa-install::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:-1;
  border-radius:inherit;
  background:linear-gradient(90deg,#00eaff,#7548ff,#f02cff,#ff2b83,#00eaff);
  background-size:260% 100%;
  filter:blur(9px);
  opacity:.7;
  animation:tofyInstallFlow 3.2s linear infinite;
}
.topbar .tofy-pwa-install::after{
  content:"";
  position:absolute;
  top:-70%;left:-25%;width:34%;height:240%;
  transform:rotate(18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);
  animation:tofyInstallShine 2.7s ease-in-out infinite;
}
.topbar .tofy-pwa-install .pwa-ico{
  display:grid;place-items:center;width:25px;height:25px;border-radius:8px;
  background:rgba(2,7,28,.35);border:1px solid rgba(255,255,255,.6);
  font-size:18px;line-height:1;box-shadow:0 0 12px rgba(255,255,255,.35)
}
.topbar .tofy-pwa-install:hover{
  transform:translateY(-2px) scale(1.035);
  border-color:#fff;
  box-shadow:0 0 10px #27eaff,0 0 28px #6f4cff,0 0 48px #f22cff,0 0 68px rgba(255,45,168,.45),inset 0 0 20px rgba(255,255,255,.25);
}
.topbar .tofy-pwa-install:active{transform:translateY(0) scale(.99)}
@keyframes tofyInstallPulse{0%,100%{filter:saturate(1) brightness(1)}50%{filter:saturate(1.25) brightness(1.18)}}
@keyframes tofyInstallFlow{to{background-position:260% 0}}
@keyframes tofyInstallShine{0%,38%{left:-35%}65%,100%{left:125%}}
@media(max-width:980px){.topbar .tofy-pwa-install{padding:0 12px;min-height:42px}.topbar .tofy-pwa-install .pwa-label{display:inline;font-size:12px}}
@media(max-width:700px){.topbar .tofy-pwa-install{min-width:42px;padding:0 9px}.topbar .tofy-pwa-install .pwa-label{display:none}}
