.mc-floating-panel {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── 主按鈕（WhatsApp 官方） ── */
.mc-fc-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: #fff;
  position: relative;
}
.mc-fc-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  z-index: -1;
  animation: mc-fc-pulse 2s ease-out infinite;
}
@keyframes mc-fc-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.mc-fc-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}
.mc-fc-toggle-icon {
  width: 32px;
  height: 32px;
}

/* ── 選項面板（在按鈕之上） ── */
.mc-fc-options {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  width: 280px;
  overflow: hidden;
  margin-bottom: 4px;
  animation: mc-fc-slide-up 0.25s ease;
}
.mc-fc-options[hidden] {
  display: none;
}
@keyframes mc-fc-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */
.mc-fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.mc-fc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #152a52;
}
.mc-fc-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #666;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-fc-close:hover { background: #e5e5e5; }

/* ── 列表 ── */
.mc-fc-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mc-fc-list li { margin: 0; }

.mc-fc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f0fdf4;
  color: #152a52;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid transparent;
}
.mc-fc-link:hover {
  background: #25D366;
  color: #fff;
  transform: translateX(-2px);
}
.mc-fc-icon {
  width: 22px;
  height: 22px;
  color: #25D366;
  flex-shrink: 0;
}
.mc-fc-link:hover .mc-fc-icon {
  color: #fff;
}
.mc-fc-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .mc-floating-panel {
    right: 14px;
    bottom: 90px;
  }
  .mc-fc-toggle { width: 54px; height: 54px; }
  .mc-fc-toggle-icon { width: 28px; height: 28px; }
  .mc-fc-options { width: 260px; }
}
