/* Lightweight, dependency-free bubble controls. They inherit the current
   theme, use native buttons/links, and never capture credentials or data. */
html[data-theme] body .site-theme-control,
html[data-theme] body .header-join{
  isolation:isolate;
  position:relative;
  overflow:hidden;
  border:1px solid color-mix(in srgb,currentColor 30%,transparent)!important;
  box-shadow:inset 0 1px 0 #ffffff75,0 8px 24px #06172a22!important;
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}
html[data-theme] body .site-theme-control::before,
html[data-theme] body .header-join::before{
  content:"";position:absolute;inset:-70% 45% auto -35%;height:180%;
  border-radius:50%;background:linear-gradient(120deg,#ffffff9c,transparent 54%);
  transform:rotate(-18deg);pointer-events:none;opacity:.72;
}
html[data-theme] body .site-theme-control>* ,html[data-theme] body .header-join>*{position:relative;z-index:1}
html[data-theme=light] body .site-theme-control{background:#ffffff9c!important;color:#173252!important}
html[data-theme=light] body .header-join{background:#eff8ffb8!important;color:#102c4a!important}
html[data-theme=dark] body .site-theme-control{background:#17375a9c!important;color:#edf8ff!important}
html[data-theme=dark] body .header-join{background:#1f5f9199!important;color:#f6fbff!important}
@media (hover:hover) and (pointer:fine){html[data-theme] body .site-theme-control:hover,html[data-theme] body .header-join:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #ffffffe6,0 12px 28px #06172a33!important}}
@media(prefers-reduced-motion:reduce){html[data-theme] body .site-theme-control,html[data-theme] body .header-join{transition:none!important}}
