/* Independent utility row: never consume the three-menu mobile nav lane. */
.site-social, .site-share-dialog { box-sizing: border-box; font-family: inherit; }
.site-social { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; width: 100%; min-width: 0; margin: 0 0 12px; padding: 8px 0; border-bottom: 1px solid rgba(164,190,175,.24); color: #c6d4cb; font-size: 13px; }
body > .site-social { width: calc(100% - 32px); max-width: 1440px; margin: 0 auto 12px; }
.site-header > .site-social { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-social-follow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.site-social-label { margin-right: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.site-social-follow a { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.site-social .site-social-share { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 1px solid #b1ef49; border-radius: 6px; background: #b1ef49; color: #14200a; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.site-social .site-social-share:hover { background: #c7ff69; border-color: #c7ff69; }
.site-social [hidden], .site-share-dialog [hidden] { display: none !important; }
.site-social :focus-visible, .site-share-dialog :focus-visible { outline: 2px solid #b1ef49; outline-offset: 3px; }
.site-share-dialog { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 22px; border: 1px solid #48614f; border-radius: 14px; background: #101e17; color: #edf4ed; box-shadow: 0 24px 80px #0009; overflow-y: auto; }
.site-share-dialog::backdrop { background: #030b08ba; }
.site-share-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-share-heading h2 { margin: 0; color: #edf4ed; font-size: 22px; line-height: 1.2; }
.site-share-dialog button, .site-share-options a { box-sizing: border-box; min-height: 44px; border: 1px solid #43594a; border-radius: 6px; padding: 10px 14px; background: #1b3023; color: #edf4ed; font-family: inherit; font-size: 14px; cursor: pointer; }
.site-share-dialog .site-share-close { flex: 0 0 44px; padding: 0; font-size: 26px; background: transparent; }
.site-share-intro, .site-share-status { font-size: 13px; line-height: 1.5; color: #b4c5b9; }
.site-share-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.site-share-options a { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 52px; text-decoration: none; font-weight: 700; }
.site-share-dialog button:hover { border-color: #b1ef49; background: #294030; }
/* Local monochrome marks on platform-color buttons, never remote widgets. */
.site-social-brand { --social-color: #334155; }
.site-social-brand[data-social-brand="bluesky"] { --social-color: #0560ff; }
.site-social-brand[data-social-brand="mastodon"] { --social-color: #563acc; }
.site-social-brand[data-social-brand="facebook"] { --social-color: #0866ff; }
.site-social-brand[data-social-brand="x"] { --social-color: #000; }
.site-social-follow .site-social-brand, .site-share-options .site-social-brand { background: var(--social-color); border-color: rgba(255,255,255,.32); color: #fff; }
.site-social-follow .site-social-brand:hover, .site-share-options .site-social-brand:hover { background: var(--social-color); border-color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-social-brand img { display: block; flex: 0 0 20px; width: 20px; height: 20px; object-fit: contain; }
.site-share-dialog label { display: block; margin-bottom: 8px; font-size: 12px; color: #b4c5b9; }
.site-share-copy { display: flex; gap: 8px; }
.site-share-copy input { box-sizing: border-box; width: 0; min-width: 0; flex: 1; border: 1px solid #43594a; border-radius: 6px; padding: 10px; background: #08130d; color: #edf4ed; font-size: 16px; }
.site-share-dialog .site-share-copy button { background: #b1ef49; color: #16210d; font-weight: 700; white-space: nowrap; }
.site-share-device { width: 100%; margin-top: 12px; }
.site-share-status { min-height: 20px; margin-bottom: 0; }
@media (max-width: 480px) {
  .site-social { gap: 4px 8px; }
  .site-header > .site-social { width: calc(100% - 22px); }
  .site-social-follow { gap: 6px; }
  .site-social-follow a { gap: 6px; padding: 8px 9px; font-size: 12px; }
  .site-social .site-social-share { gap: 5px; padding: 0 10px; font-size: 12px; }
  .site-social-brand img { flex-basis: 18px; width: 18px; height: 18px; }
  .site-social-label { display: none; }
  .site-share-dialog { padding: 16px; }
  .site-share-options a { gap: 8px; padding: 10px 8px; font-size: 13px; }
}
