/* Share bar of the news pages (templates/includes/_share.html). Own styles: no Tailwind rebuild; light + dark through variables. */
.tup-share { --s-line: #e2e8f0; --s-bg: #ffffff; --s-text: #0f172a; --s-muted: #64748b; --s-hover: #f1f5f9;
    max-width: 64rem; margin: 2.5rem auto 3rem; padding: 0 1rem; color: var(--s-text); }
html.dark .tup-share { --s-line: #334155; --s-bg: #1e293b; --s-text: #e2e8f0; --s-muted: #94a3b8; --s-hover: #273449; }
.tup-share-inner { padding: 1.1rem 1.4rem 1.2rem; background: var(--s-bg); border: 1px solid var(--s-line); border-radius: 1.5rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.tup-share-label { margin: 0 0 .8rem; font-size: 10px; font-weight: 900; letter-spacing: .25em; text-transform: uppercase; color: var(--s-muted); }
.tup-share-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.tup-share-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem .5rem .55rem; border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-bg);
    color: var(--s-text); font-family: inherit; font-size: .78rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.tup-share-btn:hover { background: var(--s-hover); border-color: var(--brand, #94a3b8); transform: translateY(-1px); }
.tup-share-btn:focus-visible { outline: 2px solid #b91c1c; outline-offset: 2px; }
.tup-share-btn i { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--brand, #475569); color: #fff; font-size: .8rem; font-style: normal; }
.tup-share-btn[hidden] { display: none; }
.tup-xglyph::before { content: "X"; font-weight: 900; font-family: inherit; }
.tup-share-facebook { --brand: #1877f2; }
.tup-share-x { --brand: #0f1419; }
.tup-share-linkedin { --brand: #0a66c2; }
.tup-share-viber { --brand: #7360f2; }
.tup-share-telegram { --brand: #26a5e4; }
.tup-share-whatsapp { --brand: #25d366; }
.tup-share-email { --brand: #64748b; }
.tup-share-native { --brand: #b91c1c; }
.tup-share-copy { --brand: #475569; }
.tup-share-status:empty { display: none; }
.tup-share-status { margin: .7rem 0 0; font-size: .75rem; font-weight: 700; color: #15803d; }
html.dark .tup-share-status { color: #86efac; }
@media (max-width: 520px) { .tup-share-btn span { font-size: .74rem; } .tup-share-inner { padding: 1rem; } }
@media print { .tup-share { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .tup-share-btn { transition: none; } .tup-share-btn:hover { transform: none; } }
