/* Jogo Leve — Bolhas. A canvas stage, a HUD, and nothing else: the bubbles are drawn, not styled. */

.jl-bolhas {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 0%, #122a33 0%, #080f13 70%);
  color: #e6f1f6;
  overflow: hidden;
}

.jl-bl-col {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 6px 6px 8px;
}

.jl-bl-hud {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 2px 2px 6px;
  flex: 0 0 auto;
}
.jl-bl-stat { display: flex; align-items: baseline; gap: 5px; }
.jl-bl-lab { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #6f9aab; }
.jl-bl-val { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; color: #ffd54f; }

/* THE NEXT-BUBBLE SWATCH, so the colour is known BEFORE committing to a shot. */
.jl-bl-nextwrap { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.jl-bl-next {
  width: 20px; height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .15);
}

/* THE STAGE FILLS WHAT IS LEFT, and the canvas inside it is measured in CSS pixels with the
   device pixel ratio applied, so it stays sharp on a phone without being huge on a desktop. */
.jl-bl-stage {
  flex: 1 1 auto;
  position: relative;
  min-height: 0;
  width: min(100%, 460px);
  margin: 0 auto;
  touch-action: none;      /* the tap is a shot, never a scroll */
  cursor: crosshair;
}
.jl-bl-stage canvas { display: block; }

/* ---- the veil ---- */
.jl-bl-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 12, 16, .96);
  z-index: 5;
}
.jl-bl-veil[hidden] { display: none; }
.jl-bl-box { width: 100%; max-width: 320px; text-align: center; }
.jl-bl-box h2 { margin: 0 0 8px; font-size: 21px; }
.jl-bl-sub { margin: 0 0 16px; font-size: 13px; color: #8fb0be; line-height: 1.5; }
.jl-bl-go {
  width: 100%; min-height: 48px;
  border: 0; border-radius: 11px;
  background: #ffd54f; color: #10161d;
  font-size: 15px; font-weight: 800; cursor: pointer;
}
.jl-bl-go:active { background: #e8bf3d; }
.jl-bl-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-height: 460px) {
  .jl-bl-hud { padding-bottom: 3px; }
  .jl-bl-next { width: 16px; height: 16px; }
}
