
.floating-tools {
  position: fixed;
  left: clamp(12px, 2vw, 28px);
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 18;
  display: grid;
  gap: 12px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, calc(100vw - 28px));
  padding: 14px 16px;
  border-radius: 18px;
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.tool-card i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.35), rgba(236,72,153,0.35));
}

.tool-card strong {
  display: block;
  margin-bottom: 2px;
}

.tool-card p {
  margin: 0;
  color: rgba(248,250,252,0.74);
  font-size: 0.88rem;
}

.action-card {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.24);
  background: rgba(30, 41, 59, 0.78);
}

@media (max-width: 768px) {
  .floating-tools {
    position: static;
    margin: 8px 0 10px;
    grid-template-columns: 1fr;
  }
  .tool-card {
    width: 100%;
  }
}
