.page-share { box-sizing: border-box; width: fit-content; max-width: 100%; margin: 24px auto; padding: 16px; border-radius: 10px; background: #000; color: #fff; font: 13px/1.5 Verdana, sans-serif; text-align: center; box-shadow: 0 0 12px color-mix(in srgb, var(--icon-accent, #6f93d1) 55%, transparent); }
body.light-mode .page-share { background: #fff; color: #111; }
.page-share h2 { width: auto; height: auto; margin: 0 0 12px; padding: 0; background: none; color: inherit; font: bold 14px/1.5 Verdana, sans-serif; }
.page-share .share-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
body .page-share .share-actions a, body .page-share .share-actions button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 0; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font: 12px/1.5 Verdana, sans-serif; text-decoration: none; cursor: pointer; }
.page-share .share-actions i { font-size: 24px; }
body .page-share .share-actions a:hover, body .page-share .share-actions button:hover, body .page-share .share-actions a:focus-visible, body .page-share .share-actions button:focus-visible { background: transparent; color: var(--icon-accent, #6f93d1); box-shadow: none; }
.page-share :focus-visible { outline: 3px solid var(--icon-accent, #6f93d1); outline-offset: 3px; }
.page-share .share-status { width: auto; height: auto; margin: 12px 0 0; padding: 0; background: transparent; color: inherit; font: inherit; }
.page-share .share-status:empty { display: none; }
.page-share .share-fallback { box-sizing: border-box; width: 100%; min-height: 44px; margin-top: 12px; padding: 8px; font: inherit; }
.page-share textarea.share-fallback { resize: vertical; white-space: pre-wrap; }
.page-share .share-actions > * { min-width: 0; overflow-wrap: anywhere; }
.page-share [hidden] { display: none !important; }
@media (max-width: 600px) { .page-share { max-width: calc(100% - 24px); } }
@media print { .page-share { display: none; } }

.page-share .share-actions > a > span, .page-share .share-actions > button > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 767px) { body .page-share .share-actions a, body .page-share .share-actions button { width: 44px; height: 44px; min-height: 44px; } .page-share { max-width: calc(100% - 96px); margin-left: 16px; margin-right: 80px; } }
