/* Braker Zeitung · Action-Dock V14 · 24.09.2026
   Desktop: kompakte Zweier-Kombination unten rechts: + öffnet Mitmachen, ↑ springt nach oben.
   Mobil: bestehender Plus-Button bleibt kompakt; Pfeil wird ausgeblendet. */

.bz-action-hub{
  position:fixed!important;
  right:20px!important;
  top:auto!important;
  bottom:22px!important;
  z-index:9990!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
}
.bz-action-hub *{box-sizing:border-box}

/* Der bisherige Text "Mitmachen" bleibt für Screenreader erhalten, verschwindet aber optisch. */
@media (min-width:760px){
  .bz-action-hub-toggle{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:50px!important;min-width:50px!important;height:48px!important;min-height:48px!important;
    padding:6px 7px!important;margin:0!important;gap:0!important;
    border:1px solid rgba(97,219,238,.34)!important;border-right-color:rgba(255,255,255,.12)!important;
    border-radius:999px 0 0 999px!important;
    background:#0b1727!important;color:#fff!important;
    box-shadow:0 14px 34px rgba(0,0,0,.28)!important;
    cursor:pointer!important;
  }
  .bz-action-hub-toggle i{
    display:grid!important;width:34px!important;height:34px!important;place-items:center!important;
    border-radius:50%!important;background:#c51f38!important;color:#fff!important;
    font:900 24px/1 Arial,sans-serif!important;font-style:normal!important;
  }
  .bz-action-hub-toggle span{
    position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
    overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
  }
  .bz-action-hub-top{
    display:grid!important;place-items:center!important;
    width:50px!important;min-width:50px!important;height:48px!important;min-height:48px!important;
    padding:0!important;margin:0!important;
    border:1px solid rgba(97,219,238,.34)!important;border-left:0!important;
    border-radius:0 999px 999px 0!important;
    background:#0b1727!important;color:#fff!important;
    box-shadow:0 14px 34px rgba(0,0,0,.28)!important;
    font:900 24px/1 Arial,sans-serif!important;
    cursor:pointer!important;
  }
  .bz-action-hub-toggle:hover,.bz-action-hub-toggle:focus-visible,
  .bz-action-hub-top:hover,.bz-action-hub-top:focus-visible{
    background:#12243a!important;outline:2px solid rgba(97,219,238,.58)!important;outline-offset:2px!important;
  }
  .bz-action-hub-top:hover,.bz-action-hub-top:focus-visible{color:#fff!important}
}

/* Panel öffnet nach oben statt mitten im Text zu schweben. */
.bz-action-hub-panel{
  position:absolute!important;
  right:0!important;left:auto!important;top:auto!important;bottom:0!important;
  width:min(360px,calc(100vw - 30px))!important;
  max-height:min(680px,calc(100dvh - 34px))!important;
  transform:translate(14px,12px) scale(.985)!important;
  transform-origin:right bottom!important;
}
.bz-action-hub.open .bz-action-hub-panel{transform:translate(0,0) scale(1)!important}
.bz-action-hub.open .bz-action-hub-toggle,
.bz-action-hub.open .bz-action-hub-top{visibility:hidden!important;pointer-events:none!important}

/* Auf kleineren Desktop-/Tabletbreiten bleibt das Dock unten rechts und rutscht nicht in den Fließtext. */
@media (min-width:760px) and (max-width:1180px){
  .bz-action-hub{right:12px!important;bottom:12px!important}
  .bz-action-hub-toggle,.bz-action-hub-top{height:44px!important;min-height:44px!important;width:46px!important;min-width:46px!important}
  .bz-action-hub-toggle i{width:32px!important;height:32px!important;font-size:22px!important}
  .bz-action-hub-panel{max-height:calc(100dvh - 24px)!important}
}

/* Mobil bleibt das bewährte Plus unten rechts; Hochscrollen ist per Wisch komfortabler. */
@media (max-width:759px){
  .bz-action-hub{
    right:18px!important;top:auto!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;
    transform:none!important;display:block!important;
  }
  .bz-action-hub-top{display:none!important}
  .bz-action-hub-toggle{
    display:grid!important;place-items:center!important;
    width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;
    padding:0!important;margin:0!important;
    border:2px solid #fff!important;border-radius:10px!important;
    background:#d60022!important;box-shadow:0 12px 28px rgba(0,0,0,.36)!important;
  }
  .bz-action-hub-toggle i{
    display:grid!important;place-items:center!important;width:100%!important;height:100%!important;
    border-radius:8px!important;background:transparent!important;color:#fff!important;
    font-size:42px!important;font-weight:500!important;line-height:1!important;
  }
  .bz-action-hub-toggle span{
    position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
    clip:rect(0,0,0,0)!important;white-space:nowrap!important;
  }
  .bz-action-hub-panel{
    position:fixed!important;right:10px!important;left:10px!important;top:auto!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;width:auto!important;
    max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    transform:translateY(18px) scale(.985)!important;transform-origin:center bottom!important;
  }
  .bz-action-hub.open .bz-action-hub-panel{transform:translateY(0) scale(1)!important}
}

@media print{.bz-action-hub,.bz-action-hub-backdrop{display:none!important}}
@media (prefers-reduced-motion:reduce){.bz-action-hub-panel{transition:none!important}}
