@layer components{.copy-button{height:30px;color:var(--ink-2);border-radius:9px;flex-shrink:0;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;font-weight:500;transition:background-color .15s,color .15s;display:inline-flex}.copy-button:hover{background:color-mix(in oklch, var(--ink) 6%, transparent);color:var(--ink)}.copy-button:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.copy-button>svg{flex-shrink:0;width:14px;height:14px;transition:scale .15s}.copy-button:active>svg{scale:.86}.copy-button--compact{justify-content:center;width:30px;padding:0}.copy-button[data-state=copied]{color:var(--ink)}.copy-button__check{color:var(--brand);animation:ss-copy-pop .28s var(--ease-pop) backwards}.copy-button[data-state=failed]{color:var(--danger);animation:.36s ss-shake}@media (prefers-reduced-motion:reduce){.copy-button,.copy-button>svg{transition:none}.copy-button__check,.copy-button[data-state=failed]{animation:none}}}
