/* A placement's link button (share.js) and the Solo / Duo / Trio tag, on board rows and in the run viewer. */
.lb-link {
  display: inline-flex; align-items: center; gap: 0.3rem; vertical-align: middle;
  min-width: 28px; min-height: 28px; margin: 0 0 0 0.15rem; padding: 0 0.3rem;
  border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--ink-soft);
  font: inherit; font-size: 0.78rem; font-weight: 700; line-height: 1; cursor: pointer;
}
.lb-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.lb-link:hover, .lb-link:focus-visible { color: var(--teal); border-color: var(--line); }
.lb-link:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; }
.lb-link[data-state="done"] { color: var(--mint); border-color: color-mix(in srgb, var(--mint) 60%, transparent); }
.lb-link[data-state="failed"] { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 50%, transparent); }
.lb-link[data-state="busy"] svg { display: none; }
.lb-link-label:empty { display: none; }
.lb-link-loader { display: inline-block; width: 18px; height: 18px; }
.lb-link-loader svg { width: 18px; height: 18px; }

.lb-party-tag {
  display: inline-block; vertical-align: middle; margin-right: 0.35rem; padding: 0.05rem 0.45rem;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 999px;
  color: var(--gold); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.35;
}

/* the run viewer: the tag and the link beside the picture tabs */
.lb-proof-share { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: auto; }

/* the Party filter beside the Teams / Players switch */
.lb-party-pick select { min-height: 34px; }

/* a board row's result line: the tag, how it ended, its pictures and its link wrap as whole pieces on a phone */
.lb-result { flex-wrap: wrap; row-gap: 2px; white-space: nowrap; }
.lb-result .lb-link { min-width: 24px; min-height: 24px; padding: 0 2px; }
.lb-result .lb-party-tag { margin-right: 0.3rem; }
.lb-link[data-state="manual"] .lb-link-label { user-select: all; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
