/* Deploy refresh prompt — Runeswick stone / gold / dark fantasy */
.rw-deploy-update-overlay {
  position: fixed;
  inset: 0;
  z-index: 27000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.rw-deploy-update-overlay.rw-deploy-update-overlay--visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.rw-deploy-update-overlay.rw-deploy-update-overlay--blocking .rw-deploy-update-backdrop {
  cursor: default;
}
.rw-deploy-update-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.rw-deploy-update-panel {
  position: relative;
  max-width: 26rem;
  width: 100%;
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: 8px;
  border: 2px solid rgba(198, 162, 89, 0.55);
  box-shadow:
    0 0 0 1px rgba(20, 24, 36, 0.95),
    0 16px 48px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 248, 220, 0.08);
  background: linear-gradient(165deg, rgba(42, 36, 28, 0.08), transparent 40%),
    linear-gradient(to bottom, #252a3a 0%, #161a26 100%);
  background-color: #1c2030;
  color: #e8e4dc;
}
.rw-deploy-update-title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #d4b87a;
  line-height: 1.3;
}
.rw-deploy-update-body {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #c8c4d4;
}
.rw-deploy-update-accent {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.82rem;
  color: #9aa3b8;
  font-style: italic;
}
.rw-deploy-update-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .rw-deploy-update-actions {
    flex-direction: column-reverse;
  }
  .rw-deploy-update-actions .btn {
    width: 100%;
  }
}

/* Self-contained buttons (character-select does not load styles.css). */
.rw-deploy-update-actions .rw-btn {
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(198, 162, 89, 0.45);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.rw-deploy-update-actions .rw-btn-primary {
  color: #1a1510;
  background: linear-gradient(180deg, #e8c86a 0%, #c9a227 100%);
  border-color: rgba(255, 236, 180, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.rw-deploy-update-actions .rw-btn-primary:hover {
  filter: brightness(1.06);
}
.rw-deploy-update-actions .rw-btn-secondary {
  color: #e2e2e8;
  background: rgba(30, 36, 52, 0.95);
  border-color: rgba(140, 150, 180, 0.35);
}
.rw-deploy-update-actions .rw-btn-secondary:hover {
  background: rgba(40, 48, 68, 0.98);
  border-color: rgba(198, 162, 89, 0.35);
}
