.offline-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 13, 24, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10000;
}

.offline-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.offline-card {
  width: min(420px, 100%);
  background: #101828;
  color: #ffffff;
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.offline-body {
  font-size: 14px;
  line-height: 1.6;
  color: #d0d5dd;
  margin-bottom: 16px;
}

.offline-actions {
  display: flex;
  justify-content: center;
}

.offline-retry {
  border: none;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
}

.offline-retry:active {
  transform: translateY(1px);
}