/* Offline mobile experiment: the page itself bends under the finger. */
.dogo-touch-dent {
  --dent-size: clamp(176px, 49vw, 214px);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 24;
  width: var(--dent-size);
  height: var(--dent-size);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0) scale(.78);
  transition: opacity 110ms ease-out, scale 180ms cubic-bezier(.2,.85,.25,1);
  will-change: transform, opacity;
  contain: strict;
  mix-blend-mode: normal;
}

/* Light on the upper-left lip, shade in the bowl and on the lower-right lip. */
.dogo-touch-dent::before {
  content: '';
  position: absolute;
  inset: 5%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%,
      rgb(0 0 45 / 29%) 0 14%,
      rgb(0 0 66 / 23%) 26%,
      transparent 45%),
    radial-gradient(circle at 43% 41%,
      transparent 0 43%,
      rgb(99 255 125 / 18%) 49%,
      transparent 59%),
    radial-gradient(circle at 57% 60%,
      transparent 0 40%,
      rgb(255 18 137 / 18%) 50%,
      rgb(0 0 42 / 17%) 55%,
      transparent 65%);
  filter: blur(.3px);
}

.dogo-touch-dent.is-active {
  opacity: .96;
  scale: 1;
}

.dogo-touch-dent.is-pressed::before {
  animation: dogo-dent-settle 850ms ease-in-out infinite alternate;
}

@keyframes dogo-dent-settle {
  to { transform: scale(.97); opacity: .86; }
}

@media (prefers-reduced-motion: reduce) {
  .dogo-touch-dent { display: none; }
}

@media (orientation: landscape), (min-width: 901px) {
  .dogo-touch-dent { display: none; }
}
