.location-prompt-panel {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.location-prompt-panel.is-visible {
  display: flex;
}

.location-prompt-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.38);
}

.location-prompt-card {
  position: relative;
  width: min(100%, 320px);
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: locationPromptFadeIn 0.22s ease;
}

@keyframes locationPromptFadeIn {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.location-prompt-copy {
  padding: 22px 18px 18px;
}

.location-prompt-card h2 {
  margin: 0 0 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: #000;
}

.location-prompt-card p {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #3c3c43;
}

.location-prompt-status {
  margin-top: 12px;
  min-height: 18px;
  font-size: 12px;
  line-height: 1.4;
  color: #b42318;
}

.location-prompt-actions {
  display: grid;
  border-top: 1px solid rgba(60, 60, 67, 0.18);
}

.location-prompt-actions button {
  min-height: 44px;
  border: 0;
  border-top: 1px solid rgba(60, 60, 67, 0.18);
  background: transparent;
  color: #007aff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
}

.location-prompt-actions button:first-child {
  border-top: 0;
}

.location-prompt-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.location-prompt-actions button[data-action="deny"] {
  font-weight: 600;
}

body.location-prompt-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .location-prompt-card {
    width: min(100%, 340px);
  }
}
