/* The common share icon (app/Elements/v3/share-menu.elm.php) */
.ujs-share { position: relative; display: inline-block; }
.ujs-share__btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid #e4e4e7; border-radius: 999px; background: #fff; color: #27272a; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ujs-share__btn:hover, .ujs-share__btn[aria-expanded="true"] { border-color: #f97316; color: #c2410c; }
.ujs-share__btn i { font-size: 13px; }
.ujs-share__menu { position: absolute; z-index: 40; top: calc(100% + 6px); right: 0; min-width: 196px; padding: 6px; border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(24, 24, 27, .14); }
.ujs-share__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: #27272a; font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.ujs-share__item:hover, .ujs-share__item:focus-visible { background: #fff7ed; color: #c2410c; text-decoration: none; outline: none; }
.ujs-share__item i { width: 16px; text-align: center; color: #71717a; }
.ujs-share__item.is-done span { color: #047857; }
@media (max-width: 520px) { .ujs-share__menu { left: 0; right: auto; } }
/* byline + share on one row (chart pages) */
.ujs-byrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.ujs-byrow > .ujx-byline { margin: 0; }
.ujs-share__x { width: 16px; color: #71717a; flex: none; }
/* the round icon on a chart (data-chart: top right corner of the figure) */
.ujs-share--icon .ujs-share__btn { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: 0 1px 2px rgba(24, 24, 27, .08); }
.ujd-figure { position: relative; }
.ujd-figure__share { position: absolute; top: 12px; right: 12px; z-index: 5; }
.ujd-figure__share ~ .ujd-figure__title, .ujd-figure > .ujd-figure__title { padding-right: 48px; }
.ujs-share__sep { margin: 6px 4px; border: 0; border-top: 1px solid #f4f4f5; }
.aix-share-row { margin: 10px 0 0; } .ujc-post__meta .ujs-share { margin-left: auto; }
@media (max-width: 520px) { .ujs-share--icon .ujs-share__menu { left: auto; right: 0; } }
.ujs-share a.ujs-share__item, .ujs-share a.ujs-share__item:visited { color: #27272a; text-decoration: none !important; border-bottom: 0; } .ujs-share a.ujs-share__item:hover { color: #c2410c; }
