/* ── GlassFix76 Widget CSS ───────────────────────────────────────── */

.gf76-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  background: #000;
  border-radius: 4px;
  cursor: crosshair;
  -webkit-user-select: none;
  user-select: none;
}

/* Stack the three canvases perfectly */
.gf76-wrap canvas {
  position: absolute;
  inset: 0;
  display: block;
  image-rendering: -webkit-optimize-contrast; /* crisp on hi-DPI */
  image-rendering: crisp-edges;
}

.gf76-canvas-bg       { z-index: 1; }
.gf76-canvas-glass    { z-index: 2; cursor: crosshair; }
.gf76-canvas-particles{ z-index: 3; pointer-events: none; }

/* ── Hint overlay ─────────────────────────────────────────────────── */
.gf76-hint {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  pointer-events: none;
  text-align: center;
  padding: 14px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  opacity: 1;
  transition: opacity .5s ease;
}

.gf76-hint-inner {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

/* ── Responsive sharpness helpers ─────────────────────────────────── */
@media (max-resolution: 1dppx) {
  .gf76-wrap canvas {
    image-rendering: auto;
  }
}

@media (min-resolution: 2dppx) {
  .gf76-wrap canvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
