@layer sections {
/* ── Share button + toast ─────────────────────────────────── */
.card-share-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity var(--t-slow), transform var(--t);
}
.recipe-card:hover .card-share-btn,
.card-share-btn:focus { opacity: 1; outline: none; }
.card-share-btn:hover { background: #fff; transform: scale(1.06); }

.share-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #2a2a2a;
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 2000;
}
.share-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
}
