/* User-supplied AntiMetalButton, with a white shell and DialogGuru berry inlay. */
.anti-metal-button {
  --accent-from: var(--berry, #a3195b);
  --accent-to: color-mix(in srgb, var(--berry, #a3195b) 94%, #000);
  position: relative;
  display: inline-flex;
  flex: none;
  width: 316.8px;
  max-width: 100%;
  height: 67.2px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fdfdfd 56%, #efeff1 100%);
  color: #35383e;
  box-shadow: inset 0 1.2px 0 #fff, inset 0 -2.4px 2.4px #00000009, 0 6px 16.8px #00000014, 0 1.2px 3.6px #0000000d;
  transition: transform 180ms ease;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}
.anti-metal-button:active { transform: scale(.98); }
.anti-metal-button:focus-visible { outline: 2.4px solid var(--blue); outline-offset: 4.8px; }
.anti-metal-button__label { position: absolute; inset-block: 0; right: 26.4px; display: flex; align-items: center; color: #35383e; font: 500 21.6px/1 var(--font-body); letter-spacing: -.025em; white-space: nowrap; }
.anti-metal-button__accent {
  position: absolute;
  top: 4.8px;
  bottom: 4.8px;
  left: 4.8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Keep the next dotted chevron fully outside the closed inlay. */
  gap: 18px;
  width: 57.6px;
  overflow: hidden;
  padding-left: 18px;
  padding-right: 18px;
  border-radius: 7.2px;
  background: linear-gradient(180deg, var(--accent-from), var(--accent-to));
  box-shadow: inset 0 1.2px 0 #ffffff66, inset 0 -2.4px 4.8px #0000001f, 0 2.4px 4.8px #00000014;
  transition: width 200ms cubic-bezier(.65, 0, .35, 1);
}
.anti-metal-button__accent svg { display: block; flex: 0 0 21.6px; width: 21.6px; height: 24.684px; overflow: visible; fill: #fff; }
.anti-metal-button:is(:focus-visible, :active) .anti-metal-button__accent { width: calc(100% - 9.6px); }
@media (hover: hover) and (pointer: fine) {
  .anti-metal-button:hover .anti-metal-button__accent { width: calc(100% - 9.6px); }
}
@keyframes bd-dot-wave {
  0%, 70%, 100% { opacity: .25; transform: scale(.85); }
  35% { opacity: 1; transform: scale(1); }
}
.anti-metal-button .bd-dot { transform-box: fill-box; transform-origin: center; animation: bd-dot-wave 1.4s ease-in-out infinite; }
@media (max-width: 600px) {
  .anti-metal-button { height: 64.8px; }
  .anti-metal-button__label { right: 19.2px; font-size: 19.2px; }
  .anti-metal-button__accent { width: 52.8px; padding-inline: 15.6px; }
}
@media (prefers-reduced-motion: reduce) {
  .anti-metal-button, .anti-metal-button__accent { transition: none; }
  .anti-metal-button .bd-dot { animation: none; opacity: 1; }
}
