.bph-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.bph-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  width: min(420px, 92vw);
  aspect-ratio: 9 / 10;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 3px var(--color-border);
  padding: 6px;
}

.bph-cell {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.bph-cell--cursor {
  border-color: rgba(79, 216, 224, 0.5);
}

.bph-bubble {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset -2px -2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.bph-cell:hover .bph-bubble {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .bph-grid { gap: 2px; padding: 4px; }
}
