/* KHC App — Install Prompt styles (v1.0.0) */
#khc-install {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #2a1450;
  border: 1px solid rgba(199, 162, 74, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(20, 10, 40, 0.45);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
#khc-install.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
#khc-install img {
  width: 52px; height: 52px;
  border-radius: 12px;
  flex: 0 0 auto;
  background: #3b1d6b;
}
#khc-install .khc-in-txt { flex: 1 1 auto; min-width: 0; }
#khc-install .khc-in-txt strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}
#khc-install .khc-in-txt span {
  display: block;
  color: #d9cfe9;
  font-size: 12.5px;
  line-height: 1.45;
}
#khc-install .khc-in-mini {
  width: 14px; height: 14px;
  stroke: #B88100; fill: none; stroke-width: 1.8;
  vertical-align: -2px;
}
#khc-install .khc-in-btns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; flex: 0 0 auto; }
#khc-install .khc-in-cta {
  background: #B88100;
  color: #2a1450;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  cursor: pointer;
  min-width: 86px;
}
#khc-install .khc-in-x {
  background: transparent;
  color: #b8aed4;
  border: 1px solid rgba(184, 174, 212, 0.4);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  padding: 5px 0;
  width: 100%;
  cursor: pointer;
}
@media (min-width: 900px) {
  #khc-install {
    left: auto; right: 20px; bottom: 20px;
    max-width: 380px;
  }
}
/* When the mobile tab bar is hidden (desktop widths), sit flush at the bottom */
@media (min-width: 900px) { #khc-install { bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); } }

/* Install button inside the More sheet */
#khc-app-sheet .khc-sheet-call #khc-sheet-install {
  background: #B88100;
  color: #2a1450;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
