.branch-ticker {
  display:flex; align-items:center; gap:.6rem; padding:.25rem clamp(.5rem,3vw,3rem);
  background:#111824; color:#f5f7ff; border-block:1px solid #344256;
}
.branch-ticker strong {color:#9be9ff; white-space:nowrap}
.branch-ticker-window {flex:1; min-width:0; overflow:hidden; direction:ltr; container-type:inline-size}
.branch-ticker-track {display:flex; width:max-content; animation:branch-names-right 28s linear infinite}
.branch-ticker-group {
  display:flex; flex:none; align-items:center; justify-content:space-around;
  min-width:100cqw; box-sizing:border-box; gap:.8rem; padding:.15rem .4rem;
}
.branch-ticker-group a {
  display:inline-flex; align-items:center; min-height:40px; padding:0 .9rem; white-space:nowrap;
  color:#f5f7ff; font-size:1rem; font-weight:700; border:1px solid #45596c;
  border-radius:.6rem; background:linear-gradient(#223248,#131c2a); text-decoration:none;
}
.branch-ticker-group a:is(:hover,:focus-visible) {border-color:#82d8ed; color:#a8eeff}
.branch-ticker-pause {position:relative; display:grid; place-items:center; width:44px; height:44px; cursor:pointer}
.branch-ticker-pause input {position:absolute; inset:0; opacity:0; width:100%; height:100%; margin:0; cursor:pointer}
.branch-ticker-pause span {width:12px; height:14px; box-sizing:border-box; border-inline:4px solid #a8eeff}
.branch-ticker-pause input:checked + span {width:0; height:0; border:7px solid transparent; border-left:11px solid #a8eeff; border-right:0}
.branch-ticker-pause:focus-within {outline:2px solid #82d8ed}
@keyframes branch-names-right {from {transform:translateX(-50%)} to {transform:translateX(0)}}
@media (hover:hover) {.branch-ticker-window:hover .branch-ticker-track {animation-play-state:paused}}
.branch-ticker:has(input:checked, a:focus-visible) .branch-ticker-track {animation:none; width:100%}
.branch-ticker:has(input:checked, a:focus-visible) .branch-ticker-group {width:100%; flex-wrap:wrap; justify-content:center}
.branch-ticker:has(input:checked, a:focus-visible) [aria-hidden="true"].branch-ticker-group {display:none}
@media (prefers-reduced-motion:reduce) {
  .branch-ticker-track {animation:none; width:100%}
  .branch-ticker-group {width:100%; flex-wrap:wrap; justify-content:center}
  .branch-ticker-pause, .branch-ticker-group[aria-hidden="true"] {display:none}
}
