.tv-pwa-install-action {
  display: block;
  width: 100%;
  padding: .55rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.tv-pwa-install-action[hidden] {
  display: none;
}

.tv-pwa-dialog {
  width: min(420px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: #26321b;
  background: #fff;
  box-shadow: 0 24px 70px rgba(29, 40, 18, .28);
}

.tv-pwa-dialog::backdrop {
  background: rgba(18, 27, 10, .58);
}

.tv-pwa-dialog-content {
  position: relative;
  padding: 30px;
}

.tv-pwa-dialog h2 {
  margin: 0 34px 10px 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.tv-pwa-dialog p {
  margin: 0 0 22px;
  color: #56614c;
  line-height: 1.55;
}

.tv-pwa-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef3e8;
  color: #354525;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.tv-pwa-dialog-confirm {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: #78a92f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .tv-pwa-dialog[open] {
    animation: tv-pwa-dialog-in .18s ease-out;
  }
}

@keyframes tv-pwa-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
