/* continuous organic wavy image frame — outer radius matches text items */
.rounded-button.with-image {
  --item-radius: 8px;
  --item-frame: 3px;
  padding: var(--item-frame);
  overflow: hidden !important;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--item-radius);
  contain: none;
  isolation: isolate;
}
.rounded-button.with-image.starry-dark {
  overflow: hidden !important;
  border-radius: var(--item-radius);
}
.rounded-button.with-image img,
.rounded-button.with-image .preview-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 0;
  display: block;
  will-change: auto;
  clip-path: none;
  -webkit-clip-path: none;
}
