/* 工具頁共用分享面板（js/tools-share.js 產生的 DOM）＋圖卡預覽。脈輪、雷諾曼兩頁載入。
   樣式照抽牌頁 css/oracle.css 的分享面板（oracle 不載入本檔，避免動到已上線頁）。
   色票來自 css/tools-shared.css 的 --lf-*。 */
.lf-share-host { display: flex; flex-direction: column; align-items: center; }
.lf-share-panel { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin: 0.25rem 0 1.25rem; width: 100%; }
.lf-share-panel[hidden] { display: none; }
.lf-share-targets { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.lf-share-target {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--lf-deep-lavender);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.6);
  color: var(--lf-deep-lavender);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lf-share-target[hidden] { display: none; }
.lf-share-target:hover, .lf-share-target:focus-visible { background: var(--lf-deep-lavender); color: #fff; text-decoration: none; }
.lf-share-target:focus-visible { outline: 2px solid var(--lf-champagne-gold); outline-offset: 2px; }
@media (min-width: 1024px) {
  .lf-share-targets { flex-wrap: nowrap; width: max-content; max-width: 92vw; }
}
@media (max-width: 560px) {
  .lf-share-targets { flex-direction: column; align-items: stretch; width: 100%; }
  .lf-share-target { width: 100%; }
}
.lf-share-manual { width: 100%; max-width: 32rem; font-family: inherit; font-size: 0.9rem; color: var(--lf-deep-lavender); background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(74, 58, 99, 0.25); border-radius: 12px; padding: 0.6rem 0.8rem; box-sizing: border-box; }
.lf-share-manual[hidden] { display: none; }
.lf-share-note { margin: 0; font-size: 0.85rem; line-height: 1.7; text-align: center; color: var(--lf-earth-clay); }
.lf-share-status { margin: 0 0 1rem; font-size: 0.9rem; text-align: center; color: var(--lf-deep-lavender); transition: opacity 0.3s ease; }
.lf-share-status[hidden] { display: none; }
.lf-share-status.is-fading { opacity: 0; }
/* 圖卡預覽下方的長按提示：只在觸控裝置顯示（電腦上沒有長按） */
.lf-share-hint { display: none; margin: -0.4rem 0 0; font-size: 0.82rem; color: var(--lf-earth-clay); text-align: center; }
@media (pointer: coarse) { .lf-share-hint { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .lf-share-target, .lf-share-status { transition-duration: 0.01ms; }
}
