/* "Back to the Uzspēlēsim.lv front page" pill, shown on every game's lobby. */
.back-home {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, 0.6);
  background: rgba(0, 0, 0, 0.3);
  color: #e2c374;
  font: 600 0.9rem -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-decoration: none;
}
.back-home:hover { background: rgba(201, 162, 75, 0.18); }
#lobby { position: relative; }
/* Phone: a small floating bubble in the top-left corner, over the page — it sits on the edge of the
   lobby's frame (it used to take its own place in the layout: beside the column in Duraks, above it
   in Meļi). */
@media (max-width: 640px) {
  .back-home {
    position: absolute;
    top: max(10px, env(safe-area-inset-top, 0px));
    left: max(10px, env(safe-area-inset-left, 0px));
    z-index: 30;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 0.8rem;
    background: rgba(14, 40, 54, 0.88);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}
