.c {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.28em 0.85em;
  background: linear-gradient(90deg, #6f87ff, #7353d8);
  color: #fff;
  border-radius: 1em;
  cursor: pointer;
  margin: 0 0.35em 0.35em 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: 1.2;
  transition: all 0.3s;
  border: none;
  vertical-align: middle;
}

.c::before {
  content: '';
  display: inline-block;
  width: 0.34em;
  height: 0.62em;
  border: 0.08em solid #fff;
  border-radius: 0.1em;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0.14em 0.14em 0 0 rgba(255, 255, 255, 0.6);
}

.c:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 点击后变绿 - 这个是新加的 */
.c.copied {
  background: linear-gradient(90deg, #10b981, #059669);
}

/* 在标题中的特殊调整 */
h1 .c, h2 .c, h3 .c, h4 .c, h5 .c, h6 .c {
  font-size: 0.7em;
  padding: 0.22em 0.75em;
  margin: 0 0.45em;
  vertical-align: baseline;
}

/* 在段落中 */
p .c {
  font-size: 0.85em;
}

/* 复制提示消息 */
/* 复制提示消息 - 从右侧弹出 */
.copy-toast {
  position: fixed;
  top: 80px;  /* 稍微低一点 */
  right: -300px;  /* 从右侧外面开始 */
  background: linear-gradient(90deg, #10b981, #059669);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s ease-out;  /* 稍微慢一点更流畅 */
}

.copy-toast.show {
  right: 20px;  /* 滑入到右侧 20px */
  opacity: 1;
}