
.tn-copy { display: inline-flex; align-items: center; gap: 5px; height: 26px; min-width: 26px; padding: 0 6px; border-radius: 6px;
  border: 1px solid var(--border2); background: var(--bg4); color: var(--text2); font: 500 11.5px var(--sans); cursor: pointer;
  justify-content: center; flex: none; transition: color .15s, border-color .15s, background .15s; }
.tn-copy:hover { color: var(--text); border-color: rgba(var(--blue-rgb), .55); background: rgba(var(--blue-rgb), .10); }
.tn-copy:focus-visible { outline: 2px solid rgba(var(--blue-rgb), .7); outline-offset: 1px; }
.tn-copy.tn-copy-lbl { padding: 0 9px; }
.tn-copy.is-copied { color: var(--green); border-color: rgba(var(--green-rgb), .55); background: rgba(var(--green-rgb), .10); }
.tn-copy.is-failed { color: var(--text2); }
.tn-copy-ico { display: block; }
.tn-copy-wrap { position: relative; }

.tn-copy-wrap.tn-copy-block { display: flex; align-items: flex-start; gap: 8px; }
.tn-copy-wrap.tn-copy-block > pre { flex: 1; min-width: 0; margin: 0; }
.tn-copy-wrap.tn-copy-block > .tn-copy { margin-top: 6px; }
.tn-copy-wrap.tn-copy-inline { display: flex; align-items: center; gap: 8px; }
.tn-copy-wrap.tn-copy-inline > code { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tn-copy-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hb-btn.hqf-copy { display: inline-flex; align-items: center; gap: 6px; }
.lf-sweep-copyico .tn-copy-ico { display: inline-block; vertical-align: -2px; width: 12px; height: 12px; }
.tn-copy.lf-ioc-copybtn { height: 22px; min-width: 22px; padding: 0 4px; }
