/* share.js: the small Share icon in the top-right corner of the result and new-card windows. Out of the
   window's flow, so it never pushes the buttons (回到大厅 stays pinned on a phone). */
.modal .box.sh-host { position: relative; }
.sh-btn { position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  background: var(--panel); color: var(--cream); border: 3px solid var(--rim); box-shadow: 0 0 0 3px var(--ink); border-radius: 0; }
.sh-btn:active { transform: translateY(2px); }
.sh-btn:disabled { opacity: .5; }
.modal .box.sh-host > h2 { padding: 0 44px; }
/* Tonight's Ghost: the Share button in daily.js's .dl-share slot, a secondary button under the result line. */
.dl-share { display: grid; gap: 4px; justify-items: center; }
.sh-daily { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.sh-note { color: var(--dim); font-size: 12px; }
