/* Share sheet (web/js/share.js): a Share button and, where the native sheet is unavailable, a small panel. */
.share { position: relative; display: inline-block; }
.share__toggle svg { width: 16px; height: 16px; }
.share__panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; display: flex; flex-wrap: wrap; gap: 8px; width: min(360px, calc(100vw - 32px)); padding: 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(20, 19, 15, .18); }
.share__panel[hidden] { display: none; }
.share__item { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--radius-pill, 999px); background: transparent; color: var(--ink); font: inherit; font-size: var(--fs-sm, .9rem); font-weight: 600; text-decoration: none; cursor: pointer; }
.share__item:hover { background: var(--paper-2); border-color: var(--ink-3); }
.share__item--copy { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share__item--copy:hover { background: var(--ink-2); }
.share__close { margin-left: auto; min-width: 44px; min-height: 44px; border-color: var(--ink-3); }
.share__item:focus-visible, .share__toggle:focus-visible { outline: 3px solid var(--green, #2f6f4e); outline-offset: 2px; }
.share__status { flex-basis: 100%; min-height: 1.25em; margin: 0; font-size: var(--fs-xs, .8rem); color: var(--ink-2); }
.results-head__share, .oguide-share { margin: var(--s3, 12px) 0 0; }
.results-head__share .share__toggle, .oguide-share .share__toggle, .share__toggle { min-height: 44px; }
.learn-article__head .share, .ig-issue__head .share { margin-top: var(--s3, 12px); }
@media (max-width: 480px) { .share__panel { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; } }
@media (prefers-color-scheme: dark) {
  .share__panel { box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
}
