/* Compact install / What's New action in the gap between header controls. */
.rm-header-install-action {
  position: absolute;
  top: calc(100% + 3px);
  z-index: 175;
  min-width: 0;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 7px;
  border: 1.3px solid rgba(53,232,255,.95);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(105deg,#087da8,#6541a7,#a82d91);
  box-shadow: 0 0 10px rgba(53,232,255,.3), inset 0 1px 2px rgba(255,255,255,.22);
  font: 850 10px/1 Arial,Helvetica,sans-serif;
  letter-spacing: -.1px;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rm-header-install-action.is-installed {
  border-color: rgba(255,69,212,.9);
  background: linear-gradient(105deg,#174a83,#6940c6,#b12c91);
  box-shadow: 0 0 10px rgba(255,69,212,.24),0 0 9px rgba(53,232,255,.2);
}
.rm-header-install-action:active { transform: scale(.96); }
.rm-header-install-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.rm-header-install-action:disabled {
  opacity: .78;
  cursor: wait;
}
.rm-header-install-action[hidden] { display:none !important; }

.rm-header-install-toast {
  position: fixed;
  left: 50%;
  bottom: calc(105px + env(safe-area-inset-bottom));
  z-index: 9998;
  width: max-content;
  max-width: calc(100vw - 34px);
  padding: 11px 14px;
  border: 1px solid rgba(53,232,255,.72);
  border-radius: 12px;
  color: #f7fbff;
  background: linear-gradient(120deg,#071b35,#32194a);
  box-shadow: 0 5px 22px rgba(0,0,0,.4),0 0 13px rgba(53,232,255,.2);
  font: 700 11px/1.5 Arial,Helvetica,sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,10px);
  transition: opacity .2s ease,transform .2s ease;
}
.rm-header-install-toast.is-visible {
  opacity: 1;
  transform: translate(-50%,0);
}
@media (max-width:400px) {
  .rm-header-install-action {
    height: 34px;
    padding: 0 4px;
    border-radius: 11px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .rm-header-install-action,.rm-header-install-toast { transition:none; }
}
