.hooray-va-footer-link {
  margin: 0.75rem 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.hooray-va-footer-link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hooray-va {
  position: fixed;
  z-index: 2147483647 !important;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}

.hooray-va-panel {
  pointer-events: auto;
  box-sizing: border-box;
  width: min(22.5rem, 100%);
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.18);
  padding: 16px 16px 14px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.hooray-va-panel h2 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
}

.hooray-va-panel p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.4;
}

.hooray-va-panel a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.hooray-va-actions {
  margin: 0;
}

.hooray-va-actions button {
  appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  background: #ececec;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 16px;
  text-align: center;
  cursor: pointer;
}

.hooray-va-actions button:hover {
  background: #e4e4e4;
}

.hooray-va-actions button:focus,
.hooray-va-panel a:focus,
.hooray-va-footer-link a:focus {
  outline: 3px solid #0b62d6;
  outline-offset: 2px;
}

.hooray-va-error {
  margin-top: 8px;
  margin-bottom: 0;
  color: #7a1f1f;
  font-size: 14px;
}

@media (max-width: 640px) {
  .hooray-va {
    padding: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .hooray-va-panel {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hooray-va-panel {
    scroll-behavior: auto;
  }
}
