/* "Get the app" (install.js): hidden once Panoply runs as the app, and its steps sheet. */
.is-installed [data-install] {
  display: none !important;
}

.install-scrim {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  animation: install-fade 0.15s ease;
}
@keyframes install-fade {
  from {
    opacity: 0;
  }
}
.install-sheet {
  width: min(400px, 100%);
  padding: 20px 20px 22px;
  border-radius: 20px;
  background: #16161b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  color: #ecebe8;
  font: 15px/1.45 'Segoe UI Variable Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.install-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.install-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex: none;
}
.install-title {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.install-title strong {
  font-size: 17px;
}
.install-title span {
  color: #9b9a96;
  font-size: 14px;
}
.install-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ecebe8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
}
.install-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.install-steps li::before {
  content: counter(step);
  flex: none;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(115deg, #c24dff 0%, #6c5cff 50%, #2ec8ff 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.install-steps strong {
  font-weight: 650;
}
.install-glyph {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #6ea8ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.install-dots {
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 700px) {
  .install-scrim {
    align-items: flex-end;
    padding: 0;
  }
  .install-sheet {
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }
}

/* the arrow to the browser's own button */
.install-arrow {
  position: fixed;
  z-index: 10001;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(115deg, #c24dff 0%, #6c5cff 50%, #2ec8ff 100%);
  box-shadow: 0 10px 30px rgba(122, 100, 255, 0.5);
  color: #fff;
  font: 700 26px/1 system-ui, sans-serif;
  pointer-events: none;
}
.install-arrow--top {
  top: calc(10px + env(safe-area-inset-top));
  left: calc(50% - 26px);
  animation: install-bob-up 1s ease-in-out infinite;
}
.install-arrow--bottom {
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: calc(50% - 26px);
  animation: install-bob-down 1s ease-in-out infinite;
}
.install-arrow--right {
  left: auto;
  right: 14px;
}
@keyframes install-bob-up {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes install-bob-down {
  50% {
    transform: translateY(8px);
  }
}
@media (max-width: 700px) {
  .install-scrim--top {
    align-items: flex-start;
  }
  .install-scrim--top .install-sheet {
    border-radius: 0 0 20px 20px;
    padding-top: calc(20px + env(safe-area-inset-top));
    padding-bottom: 22px;
  }
}
