.aurora-floating{
  position: fixed;
  z-index: 2147483647;
  bottom: var(--af-bottom, 24px);   /* ← 新增：支持自定义 */
  /* 兼容：旧浏览器用 right，新浏览器用逻辑属性 */
  right: var(--af-offset, 20px);
  inset-inline-end: var(--af-offset, 20px);
  display: grid;
  gap: 10px;
}

.af-btn{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg,#6b5cff,#00d1ff);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: .96;
  transition: .2s;
}

.af-btn:hover { transform: translateY(-2px); opacity: 1; }
.af-btn svg   { width: 18px; height: 18px; flex: 0 0 18px; fill: currentColor; }
.af-to-top    { background: #1f2937; }

@media (max-width: 768px){
  .af-btn span { display: none; }
}
