[data-install-app][hidden] {
  display: none !important;
}

.app-install-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #173f3a;
  border-radius: 999px;
  background: #fffdf8;
  color: #173f3a;
  font: 850 .9rem/1 system-ui, -apple-system, "Noto Sans KR", sans-serif;
  box-shadow: 0 8px 22px rgba(23, 63, 58, .14);
  cursor: pointer;
}

.app-install-button:hover {
  background: #eef5f1;
}

.app-install-button:focus-visible,
.app-install-help button:focus-visible {
  outline: 3px solid #f2bd46;
  outline-offset: 3px;
}

.app-install-button--floating {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  min-height: 44px;
  padding-inline: 17px;
  border-color: #dce7e2;
  background: #173f3a;
  color: #fff;
  box-shadow: 0 12px 28px rgba(12, 42, 38, .28);
}

.app-install-button--floating:hover {
  background: #20564f;
}

.app-install-help {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(9, 24, 22, .58);
}

.app-install-help-panel {
  width: min(100%, 390px);
  padding: 24px;
  border-radius: 22px;
  background: #fffdf8;
  color: #173f3a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.app-install-help-panel h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.app-install-help-panel p {
  margin: 0 0 18px;
  color: #536a65;
  line-height: 1.65;
}

.app-install-help-panel button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #173f3a;
  color: #fff;
  font: 850 .95rem/1 system-ui, -apple-system, "Noto Sans KR", sans-serif;
  cursor: pointer;
}

@media (max-width: 480px) {
  .app-install-button--floating {
    min-height: 42px;
    padding-inline: 14px;
    font-size: .82rem;
  }
}

