.thefunction-rive-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0b0f;
  overflow: hidden;
}

.thefunction-rive-canvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

.thefunction-rive-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, #1c1f2a, #0f111a);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.thefunction-rive-error .thefunction-rive-fallback {
  opacity: 1;
  pointer-events: auto;
}
