.article-share {
  --share-ink: #102641;
  --share-border: #c5d2df;
  clear: both;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--share-border);
  color: var(--share-ink);
}
.article-share > h2 { margin: 0 0 .85rem; }
.article-share :is(.share-actions, .share-dialog-actions) {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.article-share .share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 46px;
  padding: .65rem .85rem;
  border: 1px solid var(--share-border);
  border-radius: .4rem;
  background: #fff;
  color: var(--share-ink);
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.article-share .share-button:hover { background: #f1f5f9; border-color: #8b9eb0; }
.article-share :is(button, a, input):focus-visible {
  outline: 2px solid #14538a;
  outline-offset: 3px;
}
.article-share .share-button :is(svg, img) {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.article-share [hidden], .article-share [role="status"]:empty { display: none !important; }
.article-share [role="status"] { margin: .7rem 0 0; font-size: .9rem; }
.article-share dialog {
  box-sizing: border-box;
  width: min(100% - 2rem, 25rem);
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid var(--share-border);
  border-radius: .65rem;
  background: #fff;
  color: var(--share-ink);
}
.article-share dialog::backdrop { background: rgb(16 38 65 / .55); }
.article-share dialog header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.article-share dialog h3 { margin: 0; }
.article-share dialog p { margin: .8rem 0; }
.article-share .share-close { min-width: 44px; min-height: 44px; }
.article-share canvas { display: block; margin: 0 auto .85rem; max-width: 100%; height: auto; }
.article-share .share-manual input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-top: .6rem;
  padding: .55rem;
  font: inherit;
}
@media (max-width: 480px) {
  .article-share > .share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-share > .share-actions .share-button { padding-inline: .5rem; }
}
.article-share .share-wechat-icon {
  box-sizing: border-box;
  padding: 3px;
  border-radius: 5px;
  background: #07c160;
}
