/* The Share song and Music video dialogs (js/share.js). */
.sh-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; font-size: 16px; }
.sh-title b { overflow-wrap: anywhere; }
.sh-stats { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sh-link { display: flex; gap: 8px; }
.sh-link input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink);
  font: 14px ui-monospace, Menlo, Consolas, monospace; }
.sh-link .btn { min-height: 48px; flex: none; }
.sh-targets { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.sh-t { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; min-height: 72px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 600; }
.sh-t:hover { border-color: var(--line-strong); background: var(--raised); }
.sh-t svg.i { width: 28px; height: 28px; padding: 4px; }
.sh-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; font: 700 14px var(--font); font-style: normal; background: var(--muted); }
.sh-x { background: #111; } .sh-facebook { background: #1877f2; } .sh-whatsapp { background: #1fa855; } .sh-telegram { background: #2a9fd9; } .sh-reddit { background: #e0440e; }
.sh-threads { background: #111; } .sh-bluesky { background: #1183f0; } .sh-email { background: #6e6a62; } .sh-sms { background: #2fb44a; }
:root[data-theme="dark"] .sh-x, :root[data-theme="dark"] .sh-threads { background: #3a3a40; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sh-x, :root:not([data-theme="light"]) .sh-threads { background: #3a3a40; } }
.sh-video { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); }
.sh-video > svg.i { width: 26px; height: 26px; flex: none; color: var(--accent-text); }
.sh-video div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.sh-video b { color: var(--ink); font-size: 14px; }
.sh-video .btn { flex: none; }
.sh-embed { width: 100%; margin-top: 8px; padding: 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink);
  font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; resize: vertical; }
.sh-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* music video */
.sh-form { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sh-form:disabled { opacity: .55; }
.sh-seg { display: flex; flex-wrap: wrap; align-self: flex-start; max-width: 100%; }
.sh-seg button { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.sh-seg button:disabled { opacity: .45; }
.sh-start input { max-width: 120px; } .sh-count select { max-width: 120px; }
.sh-made { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sh-made video { flex: none; background: #000; border-radius: 12px; max-height: 360px; }
.sh-made video.sh-tall { height: 360px; aspect-ratio: 9 / 16; } .sh-made video.sh-square { width: 260px; aspect-ratio: 1; } .sh-made video.sh-wide { width: min(360px, 55%); aspect-ratio: 16 / 9; }
.sh-made-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 14px; }
.sh-made-side p { margin: 0; }
.sh-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-row .btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-text); }
.sh-job p { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sh-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.sh-bar i { display: block; height: 100%; background: var(--accent); border-radius: 8px; transition: width .5s linear; }
@media (max-width: 560px) {
  .sh-made { flex-direction: column; align-items: stretch; }
  .sh-made video.sh-tall { height: auto; width: 60%; align-self: center; } .sh-made video.sh-square, .sh-made video.sh-wide { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sh-bar i { transition: none; } }
