/* ==========================================================================
   like-stream.css — スクロールで右下から湧き上がるハート（modules/like-stream.js）
   スマホは画面下のLINEボタンの上、PCは右下の吹き出しボタンの上から出ます
   ========================================================================== */

.like-stream {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(var(--sticky-cta-height) + 0.75rem + env(safe-area-inset-bottom));
  z-index: 55;
  width: 3.5rem;
  height: 1px;
  pointer-events: none;
}

.like-stream__heart {
  position: absolute;
  bottom: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.1 4.5 6.9 4.5c2.1 0 3.6 1.1 5.1 2.9 1.5-1.8 3-2.9 5.1-2.9 3.8 0 6 3.8 4.5 7.2C19.5 16.4 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.1 4.5 6.9 4.5c2.1 0 3.6 1.1 5.1 2.9 1.5-1.8 3-2.9 5.1-2.9 3.8 0 6 3.8 4.5 7.2C19.5 16.4 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
}

@media (min-width: 1024px) {
  .like-stream {
    right: 2rem;
    bottom: 8.5rem;
  }
}
