@charset "UTF-8";
/* CSS Document */

:root{
  --mosaic-w: 769px;
  --mosaic-h: 1024px;
  --avatar-s: 15px;
}

.number-29-grid{
  position: relative;
  width: var(--mosaic-w);
  height: var(--mosaic-h);
  margin: auto;
  background: transparent;
  transition: transform .25s cubic-bezier(.8,.18,.3,.99);
  transform-origin: 50% 50%;
}

.number-29-bg{
  position: absolute;
  left: 0; top: 0;
  width: var(--mosaic-w);
  height: var(--mosaic-h);
  opacity: 1;           /* sửa 1.5 -> 1 */
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.avatar-cell{
  background: transparent;
  position: absolute;
  width: var(--avatar-s);
  height: var(--avatar-s);
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  transition: transform .15s, box-shadow .15s;
  box-shadow:
    0 0 4px rgba(255, 216, 0, .9),
    0 0 8px rgba(255, 216, 0, .7),
    0 0 12px rgba(255, 216, 0, .6);
}


/* ⭐ Khi hover: phóng to + viền sáng rực */
.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* chứa hình đẹp hơn contain */
    background: transparent;
    border-radius: 50%;
    display: block;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 6px rgba(255,255,255,.6); }
  50%{ box-shadow: 0 0 14px rgba(255,255,255,1); }
  100%{ box-shadow: 0 0 6px rgba(255,255,255,.6); }
}

.avatar-cell:hover{
  z-index: 10;
  transform: scale(8.5);
  animation: glowPulse 1.2s infinite ease-in-out;
}

