/* ==========================================================
   追従バー（フローティングメニュー）
   紹介コードコピー＋LINE相談。全ページ共通表示。
   ========================================================== */

.lala-floating-bar {
  position: fixed;
  z-index: 9999;
  display: flex;
  gap: 10px;
}

/* ---- スマホ：画面下部固定バー ---- */
@media (max-width: 767px) {
  .lala-floating-bar {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  }

  .lala-floating-bar__btn {
    flex: 1;
    height: 52px;
  }
}

/* ---- PC：右下フローティングボタン（縦積み） ---- */
@media (min-width: 768px) {
  .lala-floating-bar {
    right: 24px;
    bottom: 24px;
    flex-direction: column;
    align-items: flex-end;
  }

  .lala-floating-bar__btn {
    width: 220px;
    height: 56px;
  }
}

.lala-floating-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--lala-font, "Noto Sans JP", sans-serif);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lala-floating-bar__btn:hover {
  transform: translateY(-2px);
}

.lala-floating-bar__btn--code {
  background: var(--lala-yellow, #FFB300);
  color: #1c1c1c;
  box-shadow: 0 4px 0 var(--lala-yellow-dark, #E6A200);
}

.lala-floating-bar__btn--line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 4px 0 #04a043;
}

.lala-floating-bar__label {
  font-size: 13px;
}

.lala-floating-bar__code {
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* コピー完了時のフィードバック */
.lala-floating-bar__btn--code.is-copied {
  background: #4CAF50;
  color: #fff;
}
