#compare-share { margin-block: 1rem; scroll-margin-top: 1rem; }
.share-body { padding-block: .35rem 1rem; }
.share-body > .fine { max-width: 60ch; }
#share-card-preview {
  display: block;
  width: min(100%, 38rem);
  height: auto;
  margin-block: 1rem .55rem;
  border: 1px solid var(--rule);
}
.share-actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1.25rem; }
.share-actions .action { font-size: .92rem; }
.share-actions { margin-top: 1rem; }
.share-standard-actions { max-width: 38rem; margin-top: .75rem; padding-top: .25rem; border-top: 1px solid var(--rule); }
.share-standard-actions + .fine { margin-top: .5rem; }
.share-actions button:disabled { opacity: .6; }
#share-help { max-width: 60ch; margin-top: .65rem; font-size: .9rem; }
#share-full-size { display: block; width: fit-content; max-width: 100%; }
.share-image-caption { display: block; font-size: .9rem; margin-bottom: .5rem; }
.share-overview { margin: 1rem 0 0; max-width: 38rem; border-block: 1px solid var(--rule); }
.share-overview > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; padding-block: .3rem; }
.share-overview dt { font-size: .9rem; color: var(--muted); }
.share-overview dd { margin: 0; font: .95rem/1.5 var(--mono); }
.share-overview > div:last-child { border-top: 1px solid var(--rule); font-weight: 600; }
#share-status:not(:empty) { margin-top: .4rem; }
.share-text { margin-top: .65rem; }
.share-text summary { font-size: .9rem; font-weight: 600; min-height: 2.75rem; padding-block: .65rem; }
#share-preview, #share-link-preview {
  display: block;
  width: 100%;
  max-width: 52rem;
  min-height: 16rem;
  padding: .75rem;
  border: 1px solid var(--strong-rule);
  border-radius: 2px;
  resize: vertical;
  background: var(--paper);
  color: var(--ink);
  font: .88rem/1.55 var(--mono);
}

.share-currency-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 10rem);
  max-width: 26rem;
  align-items: center;
  gap: .35rem .75rem;
  margin-top: .85rem;
}
.share-currency-field label { font-size: .9rem; font-weight: 600; }
.share-currency-field select {
  min-width: 0;
  min-height: 2.75rem;
  width: 100%;
  padding: .4rem .6rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--strong-rule);
  border-radius: 2px;
}
#share-currency-help { min-width: 0; grid-column: 1 / -1; max-width: 60ch; font-size: .85rem; }

.share-link-heading { margin-top: 1.25rem; margin-bottom: .5rem; }
.share-group-choice { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; max-width: 60ch; font-size: .9rem; cursor: pointer; }
.share-group-choice input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; }
.share-other-exports { border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1.5rem; }
#share-link-preview { min-height: 5rem; overflow-wrap: anywhere; margin-top: .65rem; }
#share-link-status:not(:empty) { margin-top: .4rem; }
#share-kakao-help { margin-top: 1rem; }
