.imx-audio-auto-pp {
  position: relative;
  display: inline-block;
  max-width: 100%;
  --imx-color: #B1365B;
  --imx-size: 64px;
}

.imx-audio-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Button styles */
.imx-pp-btn {
  width: var(--imx-size);
  height: var(--imx-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: var(--imx-color);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  color: #fff;
  padding: 0;
}

/* If there's a cover, center button on top */
.imx-audio-auto-pp .imx-pp-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.imx-pp-btn:hover { transform: translateY(-1px); }
.imx-pp-btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }

.imx-pp-icon {
  width: calc(var(--imx-size) * 0.55);
  height: calc(var(--imx-size) * 0.55);
  fill: currentColor;
}

.imx-pp-pause { display: none; }

/* Error message */
.imx-audio-error {
  padding: 10px 12px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 8px;
  color: #856404;
  font-size: 14px;
}
