/* Back button + shell tweaks for Żabka Hero shell */
.back-to-app {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white, #ffffff);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  color: var(--color-text, #1a1a1a);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-app:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 209, 0, 0.32),
    0 2px 12px rgba(0,0,0,0.12);
}

.back-to-app:active {
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  .back-to-app {
    transition: none;
  }
}
