/* Share to Macanc (Android app): a compact sheet from the bottom, dimmed behind (never blurred), theme colours only. */
#share-in { display: none; position: fixed; inset: 0; z-index: 9998; }
#share-in.show { display: block; }
#share-in .shi-dim { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
#share-in .shi-box { position: absolute; inset-inline: 0; bottom: 0; max-height: min(72vh, 560px); display: flex; flex-direction: column; background: var(--bg-2); border-top: 1px solid var(--border); border-radius: 14px 14px 0 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 32px rgba(0,0,0,.35); }
html:not(.ph) #share-in .shi-box { inset-inline: auto; left: 50%; transform: translateX(-50%); width: 420px; bottom: 24px; border-radius: 12px; border: 1px solid var(--border); }
#share-in .shi-h { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
#share-in .shi-h b { font-size: 15px; color: var(--bright); }
#share-in .shi-x { width: 36px; height: 36px; }
#share-in .shi-x svg { width: 16px; height: 16px; }
#share-in .shi-sum { font-size: 12px; color: var(--muted); margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#share-in .shi-q { display: flex; align-items: center; gap: 8px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 8px; padding: 0 10px; height: 36px; margin-bottom: 6px; }
#share-in .shi-q svg { width: 16px; height: 16px; color: var(--muted); }
#share-in .shi-q input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 14px; }
#share-in .shi-list { overflow-y: auto; overscroll-behavior: contain; }
#share-in .shi-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 8px; background: transparent; border: 0; border-radius: 8px; color: var(--text); font-size: 14px; text-align: start; cursor: pointer; }
#share-in .shi-row:hover, #share-in .shi-row:active { background: var(--bg-3); }
#share-in .shi-row.wait { opacity: .5; pointer-events: none; }
#share-in .shi-ic { display: inline-flex; color: var(--muted); }
#share-in .shi-ic svg { width: 16px; height: 16px; }
#share-in .shi-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#share-in .shi-s { flex: 0 1 40%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
#share-in .shi-empty { padding: 16px 8px; font-size: 13px; color: var(--muted); }
