.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  vertical-align: middle;
  color: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.copy-email [hidden] { display: none; }
.copy-email__control { position: relative; display: inline-flex; min-width: 0; }
.copy-email__button, .copy-email__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 3px;
  touch-action: manipulation;
}
.copy-email__button {
  min-height: 28px;
  min-width: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  user-select: none;
}
.copy-email__mail { min-height: 28px; gap: 8px; overflow-wrap: anywhere; text-decoration: none; }
.copy-email__mail svg { flex: none; }
.copy-email__arrow { display: inline-flex; align-items: center; gap: 1px; font-size: 12px; }
.copy-email__fallback { text-decoration: underline dotted 1px; text-underline-offset: 3px; }
.copy-email[data-ready] .copy-email__mail { width: 28px; flex: none; }
.copy-email[data-ready] .copy-email__fallback { display: none; }
.copy-email__button:focus-visible, .copy-email__mail:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.copy-email__text {
  display: flex;
  overflow: hidden;
  max-width: 100%;
  perspective: 240px;
  border-bottom: 1px dotted currentColor;
  transition: width 320ms cubic-bezier(0.77, 0, 0.175, 1);
}
.copy-email__letter {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  white-space: pre;
  transform-style: preserve-3d;
}
.copy-email__face {
  display: block;
  width: max-content;
  min-height: 1.5em;
  transform-origin: 50% 50% -0.5em;
  backface-visibility: hidden;
}
.copy-email__leaving { position: absolute; inset: 0; }
.copy-email__leaving::before { content: attr(data-char); }
.copy-email:not([data-state='idle']) .copy-email__control .tooltip__text {
  visibility: hidden;
  opacity: 0;
  transition-delay: 0s;
}
.copy-email__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .copy-email *, .copy-email *::before { transition: none; }
}
